gdcm: switch to new sdk pattern on darwin and fixes build (#358792)
This commit is contained in:
commit
4a60dea06b
@ -4,10 +4,7 @@
|
|||||||
, cmake
|
, cmake
|
||||||
, enableVTK ? true
|
, enableVTK ? true
|
||||||
, vtk
|
, vtk
|
||||||
, ApplicationServices
|
|
||||||
, Cocoa
|
|
||||||
, DarwinTools # sw_vers
|
, DarwinTools # sw_vers
|
||||||
, libiconv
|
|
||||||
, enablePython ? false
|
, enablePython ? false
|
||||||
, python ? null
|
, python ? null
|
||||||
, swig
|
, swig
|
||||||
@ -60,10 +57,6 @@ stdenv.mkDerivation rec {
|
|||||||
zlib
|
zlib
|
||||||
] ++ lib.optionals enableVTK [
|
] ++ lib.optionals enableVTK [
|
||||||
vtk
|
vtk
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
ApplicationServices
|
|
||||||
Cocoa
|
|
||||||
libiconv
|
|
||||||
] ++ lib.optionals enablePython [ swig python ];
|
] ++ lib.optionals enablePython [ swig python ];
|
||||||
|
|
||||||
postInstall = lib.optionalString enablePython ''
|
postInstall = lib.optionalString enablePython ''
|
||||||
|
@ -9235,7 +9235,6 @@ with pkgs;
|
|||||||
|
|
||||||
gdcm = callPackage ../development/libraries/gdcm {
|
gdcm = callPackage ../development/libraries/gdcm {
|
||||||
inherit (darwin) DarwinTools;
|
inherit (darwin) DarwinTools;
|
||||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices Cocoa;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
givaro = callPackage ../development/libraries/givaro { };
|
givaro = callPackage ../development/libraries/givaro { };
|
||||||
|
Loading…
Reference in New Issue
Block a user