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:
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 = [
|
||||
|
||||
Reference in New Issue
Block a user