diff --git a/pkgs/development/python-modules/invoke/default.nix b/pkgs/development/python-modules/invoke/default.nix index 0438a035501b..d2839d32b0a9 100644 --- a/pkgs/development/python-modules/invoke/default.nix +++ b/pkgs/development/python-modules/invoke/default.nix @@ -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;