From c74b019ab27b922e4182cc835a970098d84fe5d6 Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Mon, 14 Jan 2019 22:50:27 +0100 Subject: [PATCH] python.pkgs.cypari2: fix build (#53966) Broken by a typo in f665828fa374580f4b2fd725761d23e18f55e526 causing the sitePackages path to be wrong. --- pkgs/development/python-modules/cypari2/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cypari2/default.nix b/pkgs/development/python-modules/cypari2/default.nix index 09326ad1a0b..c9f647d77b8 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 .