git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.invoke: patch the default bash path (#57908)

Use a reasonable path :)

commit8403965d014b998711df5f870d98739ffd69fcd1 authorzimbatm <zimbatm@zimbatm.com> dateTue 19 Mar 2019, 17:38 (8 years ago) parent0cbe2fa
1 file changed+5
pkgs/development/python-modules/invoke/default.nix+5
pkgs/development/python-modules/invoke/default.nix+5
@@ -1,4 +1,5 @@
11{ lib
2+, bash
23, buildPythonPackage
34, fetchPypi
45}:
@@ -12,6 +13,10 @@ buildPythonPackage rec {
1213 sha256 = "1dr1a5qbb9z5hyns4zk086zm0iqbms33zv0s1296wx502y7jyjfw";
1314 };
1415
16+ patchPhase = ''
17+ sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
18+ '';
19+
1520 # errors with vendored libs
1621 doCheck = false;
1722