remove pythonhome-wrapper, python-linkme-wrapper is more flexible

This commit is contained in:
Florian Friesdorf
2013-01-22 15:28:15 +01:00
parent 1fa2e7f9a9
commit a63bb419f2
2 changed files with 0 additions and 23 deletions

View File

@@ -1,21 +0,0 @@
{ stdenv }:
stdenv.mkDerivation {
name = "pythonhome-wrapper";
unpackPhase = "true";
installPhase = ''
mkdir -p $out/bin
echo '
#!/bin/sh
BINDIR=`dirname $0`
PYTHONHOME=`dirname $BINDIR`
PYTHONHOME=`(cd $PYTHONHOME && pwd)`
export PYTHONHOME
$BINDIR/python "$@"
' > $out/bin/py
chmod +x $out/bin/py
'';
}