mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
fix offlineDistutils (#271), needs to be in a site-packages subdir
This commit is contained in:
parent
fa8e19e879
commit
c6b874be2f
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
unpackPhase = "true";
|
unpackPhase = "true";
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
dst="$out/lib/${python.libPrefix}"
|
dst="$out/lib/${python.libPrefix}/site-packages"
|
||||||
ensureDir $dst/distutils
|
ensureDir $dst/distutils
|
||||||
ln -s ${python}/lib/${python.libPrefix}/distutils/* $dst/distutils/
|
ln -s ${python}/lib/${python.libPrefix}/distutils/* $dst/distutils/
|
||||||
cat <<EOF > $dst/distutils/distutils.cfg
|
cat <<EOF > $dst/distutils/distutils.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user