From 28c6334afbeadb9fc8099ca3c647a5e438e4611d Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 26 Apr 2023 10:07:20 +0300 Subject: [PATCH] gdcm: fix build on darwin --- pkgs/development/libraries/gdcm/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/gdcm/default.nix b/pkgs/development/libraries/gdcm/default.nix index 3cf934843010..c01910e3f39f 100644 --- a/pkgs/development/libraries/gdcm/default.nix +++ b/pkgs/development/libraries/gdcm/default.nix @@ -6,6 +6,7 @@ , vtk , ApplicationServices , Cocoa +, libiconv , enablePython ? false , python ? null , swig @@ -43,6 +44,7 @@ stdenv.mkDerivation rec { ] ++ lib.optionals stdenv.isDarwin [ ApplicationServices Cocoa + libiconv ] ++ lib.optionals enablePython [ swig python ]; meta = with lib; { @@ -54,5 +56,6 @@ stdenv.mkDerivation rec { homepage = "https://gdcm.sourceforge.net/"; license = with licenses; [ bsd3 asl20 ]; maintainers = with maintainers; [ tfmoraes ]; + platforms = platforms.all; }; }