diff --git a/pkgs/development/python-modules/jishaku/default.nix b/pkgs/development/python-modules/jishaku/default.nix index e758f4c691eb..4501ffc68e6b 100644 --- a/pkgs/development/python-modules/jishaku/default.nix +++ b/pkgs/development/python-modules/jishaku/default.nix @@ -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