about summary refs log tree commit diff
path: root/pkgs/applications/graphics/paraview
diff options
context:
space:
mode:
authorAaron Ash <aaron.ash@gmail.com>2020-07-03 10:44:29 +1000
committerAaron Ash <aaron.ash@gmail.com>2020-07-03 10:44:29 +1000
commit25865306f08f3d87e390c41065cf7db2f19323e0 (patch)
treedfffc9e7971bfe1f42c7e69114d2a0b93757cf44 /pkgs/applications/graphics/paraview
parent57568628beff33868e38ef7d17387a5a70075960 (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/paraview')
-rw-r--r--pkgs/applications/graphics/paraview/default.nix5
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";