3
0
Fork 0
forked from mirrors/nixpkgs

Fix virtualenvwrapper for python 2.6

This commit is contained in:
Jascha Geerds 2014-10-23 22:53:00 +02:00
parent fab8ed0332
commit a5b69c0a02

View file

@ -9442,7 +9442,11 @@ let
preConfigure = "export HOME=$TMPDIR";
buildInputs = with self; [ pbr pip pkgs.which ];
propagatedBuildInputs = with self; [ stevedore virtualenv virtualenv-clone ];
propagatedBuildInputs = with self; [
stevedore
virtualenv
virtualenv-clone
] ++ optional isPy26 argparse;
patchPhase = ''
substituteInPlace "virtualenvwrapper.sh" --replace "which" "${pkgs.which}/bin/which"