paraview: prefix PYTHONPATH
--prefix gives the possibility to add additional python modules to path
This commit is contained in:
parent
e59dcf8cce
commit
f4e87eb2da
@ -55,11 +55,11 @@ mkDerivation rec {
|
|||||||
# so we need to put the correct sitePackages (with numpy) back on the path
|
# so we need to put the correct sitePackages (with numpy) back on the path
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/paraview \
|
wrapProgram $out/bin/paraview \
|
||||||
--set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
|
--prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
|
||||||
wrapProgram $out/bin/pvbatch \
|
wrapProgram $out/bin/pvbatch \
|
||||||
--set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
|
--prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
|
||||||
wrapProgram $out/bin/pvpython \
|
wrapProgram $out/bin/pvpython \
|
||||||
--set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
|
--prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user