fix offlineDistutils (#271), needs to be in a site-packages subdir

This commit is contained in:
Florian Friesdorf 2013-01-21 12:11:08 +01:00
parent fa8e19e879
commit c6b874be2f

View File

@ -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