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