[go: nahoru, domu]

Skip to content

Commit

Permalink
gdcm: improve darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
afh committed Jun 7, 2024
1 parent bf3faad commit dc2c173
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/gdcm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
, vtk
, ApplicationServices
, Cocoa
, DarwinTools # sw_vers
, libiconv
, enablePython ? false
, python ? null
Expand Down Expand Up @@ -50,7 +51,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkg-config
];
] ++ lib.optional stdenv.isDarwin DarwinTools;

buildInputs = [
expat
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20897,6 +20897,7 @@ with pkgs;
};

gdcm = callPackage ../development/libraries/gdcm {
inherit (darwin) DarwinTools;
inherit (darwin.apple_sdk.frameworks) ApplicationServices Cocoa;
};

Expand Down

0 comments on commit dc2c173

Please sign in to comment.