buildPythonPackage: fix support for pypy
This commit is contained in:
parent
d82f55aead
commit
cf5984e4bf
@ -116,7 +116,7 @@ python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // {
|
|||||||
tmp_path=$(mktemp -d)
|
tmp_path=$(mktemp -d)
|
||||||
export PATH="$tmp_path/bin:$PATH"
|
export PATH="$tmp_path/bin:$PATH"
|
||||||
export PYTHONPATH="$tmp_path/${python.sitePackages}:$PYTHONPATH"
|
export PYTHONPATH="$tmp_path/${python.sitePackages}:$PYTHONPATH"
|
||||||
mkdir -p $tmp_path/lib/${python.libPrefix}/site-packages
|
mkdir -p $tmp_path/${python.sitePackages}
|
||||||
${bootstrapped-pip}/bin/pip install -e . --prefix $tmp_path
|
${bootstrapped-pip}/bin/pip install -e . --prefix $tmp_path
|
||||||
fi
|
fi
|
||||||
${postShellHook}
|
${postShellHook}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user