diff options
author | Aaron Ash <aaron.ash@gmail.com> | 2020-07-03 10:44:29 +1000 |
---|---|---|
committer | Aaron Ash <aaron.ash@gmail.com> | 2020-07-03 10:44:29 +1000 |
commit | 25865306f08f3d87e390c41065cf7db2f19323e0 (patch) | |
tree | dfffc9e7971bfe1f42c7e69114d2a0b93757cf44 /pkgs/applications/graphics | |
parent | 57568628beff33868e38ef7d17387a5a70075960 (diff) |
paraview: Fix dataset filtering
Paraview requires python and numpy to be available at runtime not just build time. Filtering a csv dataset uses numpy and throws an error without python and numpy being available in the propagatedBuildInputs.
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/paraview/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/paraview/default.nix b/pkgs/applications/graphics/paraview/default.nix index b201f9dbf0daf..d0c8d1c9ee941 100644 --- a/pkgs/applications/graphics/paraview/default.nix +++ b/pkgs/applications/graphics/paraview/default.nix @@ -66,7 +66,6 @@ mkDerivation rec { libGLU libGL libXt openmpi - (python3.withPackages (ps: with ps; [ numpy matplotlib mpi4py ])) tbb boost ffmpeg @@ -78,6 +77,10 @@ mkDerivation rec { qtsvg ]; + propagatedBuildInputs = [ + (python3.withPackages (ps: with ps; [ numpy matplotlib mpi4py ])) + ]; + meta = with stdenv.lib; { homepage = "https://www.paraview.org/"; description = "3D Data analysis and visualization application"; |