Patch shell scripts

This commit is contained in:
Jascha Geerds 2014-07-22 23:34:24 +02:00
parent 00fb5ea150
commit d3aba9b866

View file

@ -8108,7 +8108,12 @@ rec {
# pip depend on $HOME setting
preConfigure = "export HOME=$TMPDIR";
buildInputs = [ pbr pip stevedore virtualenv virtualenv-clone ];
buildInputs = [ pbr pip stevedore virtualenv virtualenv-clone pkgs.which ];
patchPhase = ''
substituteInPlace "virtualenvwrapper.sh" --replace "which" "${pkgs.which}/bin/which"
substituteInPlace "virtualenvwrapper_lazy.sh" --replace "which" "${pkgs.which}/bin/which"
'';
meta = {
description = "Enhancements to virtualenv";