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
'';
}

View file

@ -2857,8 +2857,6 @@ let
inherit (python27Packages) recursivePthLoader;
};
pythonhomeWrapper = callPackage ../development/interpreters/python/pythonhome-wrapper.nix { };
pythonLinkmeWrapper = callPackage ../development/interpreters/python/python-linkme-wrapper.nix { };
pyrex = pyrex095;