Loading pkgs/development/libraries/itk/generic.nix +20 −14 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ zlib, Cocoa, enablePython ? false, enableRtk ? true, }: let Loading Loading @@ -129,6 +130,8 @@ stdenv.mkDerivation { "-DModule_MGHIO=ON" "-DModule_AdaptiveDenoising=ON" "-DModule_GenericLabelInterpolator=ON" ] ++ lib.optionals enableRtk [ "-DModule_RTK=ON" ] ++ lib.optionals enablePython [ Loading Loading @@ -166,7 +169,8 @@ stdenv.mkDerivation { # These deps were propagated from VTK 9 in https://github.com/NixOS/nixpkgs/pull/206935, # so we simply propagate them again from ITK. # This admittedly is a hack and seems like an issue with VTK 9's CMake configuration. propagatedBuildInputs = [ propagatedBuildInputs = [ # The dependencies we've un-vendored from ITK, such as GDCM, must be propagated, # otherwise other software built against ITK fails to configure since ITK headers # refer to these previously vendored libraries: Loading @@ -179,7 +183,9 @@ stdenv.mkDerivation { libpng libtiff zlib ] ++ lib.optionals withVtk vtk.propagatedBuildInputs ++ lib.optionals enablePython [ numpy ]; ] ++ lib.optionals withVtk vtk.propagatedBuildInputs ++ lib.optionals enablePython [ numpy ]; postInstall = lib.optionalString enablePython '' substitute \ Loading pkgs/top-level/all-packages.nix +1 −0 Original line number Diff line number Diff line Loading @@ -9566,6 +9566,7 @@ with pkgs; itk_5_2 = callPackage ../development/libraries/itk/5.2.x.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; enableRtk = false; }; itk_5 = callPackage ../development/libraries/itk/5.x.nix { Loading pkgs/top-level/python-packages.nix +1 −0 Original line number Diff line number Diff line Loading @@ -6474,6 +6474,7 @@ self: super: with self; { itk = toPythonModule (pkgs.itk.override { inherit python numpy; enablePython = true; enableRtk = false; }); Loading Loading
pkgs/development/libraries/itk/generic.nix +20 −14 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ zlib, Cocoa, enablePython ? false, enableRtk ? true, }: let Loading Loading @@ -129,6 +130,8 @@ stdenv.mkDerivation { "-DModule_MGHIO=ON" "-DModule_AdaptiveDenoising=ON" "-DModule_GenericLabelInterpolator=ON" ] ++ lib.optionals enableRtk [ "-DModule_RTK=ON" ] ++ lib.optionals enablePython [ Loading Loading @@ -166,7 +169,8 @@ stdenv.mkDerivation { # These deps were propagated from VTK 9 in https://github.com/NixOS/nixpkgs/pull/206935, # so we simply propagate them again from ITK. # This admittedly is a hack and seems like an issue with VTK 9's CMake configuration. propagatedBuildInputs = [ propagatedBuildInputs = [ # The dependencies we've un-vendored from ITK, such as GDCM, must be propagated, # otherwise other software built against ITK fails to configure since ITK headers # refer to these previously vendored libraries: Loading @@ -179,7 +183,9 @@ stdenv.mkDerivation { libpng libtiff zlib ] ++ lib.optionals withVtk vtk.propagatedBuildInputs ++ lib.optionals enablePython [ numpy ]; ] ++ lib.optionals withVtk vtk.propagatedBuildInputs ++ lib.optionals enablePython [ numpy ]; postInstall = lib.optionalString enablePython '' substitute \ Loading
pkgs/top-level/all-packages.nix +1 −0 Original line number Diff line number Diff line Loading @@ -9566,6 +9566,7 @@ with pkgs; itk_5_2 = callPackage ../development/libraries/itk/5.2.x.nix { inherit (darwin.apple_sdk.frameworks) Cocoa; enableRtk = false; }; itk_5 = callPackage ../development/libraries/itk/5.x.nix { Loading
pkgs/top-level/python-packages.nix +1 −0 Original line number Diff line number Diff line Loading @@ -6474,6 +6474,7 @@ self: super: with self; { itk = toPythonModule (pkgs.itk.override { inherit python numpy; enablePython = true; enableRtk = false; }); Loading