forked from mirrors/nixpkgs
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";
|
||||
installPhase = ''
|
||||
dst="$out/lib/${python.libPrefix}"
|
||||
dst="$out/lib/${python.libPrefix}/site-packages"
|
||||
ensureDir $dst/distutils
|
||||
ln -s ${python}/lib/${python.libPrefix}/distutils/* $dst/distutils/
|
||||
cat <<EOF > $dst/distutils/distutils.cfg
|
||||
|
|
Loading…
Reference in a new issue