From f4e87eb2da2a8af92d9af3a9aeefa8024455d998 Mon Sep 17 00:00:00 2001 From: jobojeha Date: Mon, 27 Jan 2020 13:08:18 +0100 Subject: [PATCH] paraview: prefix PYTHONPATH --prefix gives the possibility to add additional python modules to path --- pkgs/applications/graphics/paraview/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/paraview/default.nix b/pkgs/applications/graphics/paraview/default.nix index 1a47a3557493..2908f4018cb1 100644 --- a/pkgs/applications/graphics/paraview/default.nix +++ b/pkgs/applications/graphics/paraview/default.nix @@ -55,11 +55,11 @@ mkDerivation rec { # so we need to put the correct sitePackages (with numpy) back on the path postInstall = '' wrapProgram $out/bin/paraview \ - --set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" + --prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" wrapProgram $out/bin/pvbatch \ - --set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" + --prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" wrapProgram $out/bin/pvpython \ - --set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" + --prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}" ''; meta = {