about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cypari2
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-01-14 22:50:27 +0100
committerGitHub <noreply@github.com>2019-01-14 22:50:27 +0100
commitc74b019ab27b922e4182cc835a970098d84fe5d6 (patch)
treef1e157a57eb09179b0506022495c67cf796323c3 /pkgs/development/python-modules/cypari2
parent7788e5d536bc40246a06449a96fcf5ae3dbe88b7 (diff)
python.pkgs.cypari2: fix build (#53966)
Broken by a typo in f665828fa374580f4b2fd725761d23e18f55e526 causing the
sitePackages path to be wrong.
Diffstat (limited to 'pkgs/development/python-modules/cypari2')
-rw-r--r--pkgs/development/python-modules/cypari2/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/cypari2/default.nix b/pkgs/development/python-modules/cypari2/default.nix
index 09326ad1a0bc0..c9f647d77b86f 100644
--- a/pkgs/development/python-modules/cypari2/default.nix
+++ b/pkgs/development/python-modules/cypari2/default.nix
@@ -23,8 +23,7 @@ buildPythonPackage rec {
   # That is because while the default install phase succeeds to build the package,
   # it fails to generate the file "auto_paridecl.pxd".
   installPhase = ''
-    mkdir -p "$out/lib/${python.sitePackages}"
-    export PYTHONPATH="$out/lib/${python.sitePackages}:$PYTHONPATH"
+    export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
 
     # install "." instead of "*.whl"
     ${python.pythonForBuild.pkgs.bootstrapped-pip}/bin/pip install --no-index --prefix=$out --no-cache --build=tmpdir .