pythonPackages.jishaku: patch hardcoded /bin/bash default to /bin/sh

Co-Authored-By: a-n-n-a-l-e-e
This commit is contained in:
itslychee
2024-04-01 07:45:14 -05:00
co-authored by a-n-n-a-l-e-e
parent bb13987023
commit fe57668bca
@@ -1,5 +1,6 @@
{
lib,
bash,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
@@ -33,6 +34,11 @@ buildPythonPackage rec {
})
];
postPatch = ''
substituteInPlace jishaku/shell.py \
--replace-fail '"/bin/bash"' '"${lib.getExe bash}"'
'';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [