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:
a-n-n-a-l-e-e 2024-04-01 13:13:21 -07:00 committed by GitHub
commit ab2ef75bc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -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