mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +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";
|
||||
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 New Issue
Block a user