Patch shell scripts
This commit is contained in:
parent
00fb5ea150
commit
d3aba9b866
1 changed files with 6 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue