mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
paraview: prefix PYTHONPATH
--prefix gives the possibility to add additional python modules to path
This commit is contained in:
parent
e59dcf8cce
commit
f4e87eb2da
1 changed files with 3 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue