Merge pull request #298617 from itslychee/patch/jishaku-bin-bash
pythonPackages.jishaku: patch hardcoded /bin/bash default to /bin/sh
This commit is contained in:
commit
ab2ef75bc4
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
bash,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
@ -33,9 +34,14 @@ buildPythonPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
postPatch = ''
|
||||
substituteInPlace jishaku/shell.py \
|
||||
--replace-fail '"/bin/bash"' '"${lib.getExe bash}"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
discordpy
|
||||
click
|
||||
braceexpand
|
||||
|
|
Loading…
Reference in New Issue