gdcm: switch to new sdk pattern on darwin and fixes build (#358792)

This commit is contained in:
Weijia Wang
2024-11-27 22:11:19 +01:00
committed by GitHub
2 changed files with 0 additions and 8 deletions
@@ -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 ''
-1
View File
@@ -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 { };