pythonPackages.invoke: patch the default bash path (#57908)

Use a reasonable path :)
This commit is contained in:
zimbatm 2019-03-19 17:38:55 +01:00 committed by Robert Schütz
parent 0cbe2fa18c
commit 8403965d01

View file

@ -1,4 +1,5 @@
{ lib
, bash
, buildPythonPackage
, fetchPypi
}:
@ -12,6 +13,10 @@ buildPythonPackage rec {
sha256 = "1dr1a5qbb9z5hyns4zk086zm0iqbms33zv0s1296wx502y7jyjfw";
};
patchPhase = ''
sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
'';
# errors with vendored libs
doCheck = false;