remove pythonhome-wrapper, python-linkme-wrapper is more flexible
This commit is contained in:
parent
1fa2e7f9a9
commit
a63bb419f2
|
@ -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
|
||||
'';
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue