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

Use a reasonable path :)
wip/yesman
zimbatm 5 years ago committed by Robert Schütz
parent 0cbe2fa18c
commit 8403965d01
  1. 5
      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;

Loading…
Cancel
Save