File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3636 systemd ,
3737 udev ,
3838 xmlto ,
39- which ,
4039} :
4140
4241stdenv . mkDerivation ( finalAttrs : {
@@ -67,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: {
6766 python3Packages . setuptools
6867 systemd
6968 xmlto
70- which
7169 ] ;
7270
7371 buildInputs = [
@@ -81,6 +79,7 @@ stdenv.mkDerivation (finalAttrs: {
8179 udev
8280 python3Packages . pygobject3
8381 python3Packages . pip
82+ bashInteractive
8483 ] ;
8584
8685 postPatch = ''
@@ -99,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
9998 --replace-fail 'const char *cockpit_config_dirs[] = { PACKAGE_SYSCONF_DIR' 'const char *cockpit_config_dirs[] = { "/etc"'
10099
101100 substituteInPlace src/**/*.c \
102- --replace ' "/bin/sh"' "\"$(which sh)\" "
101+ --replace-quiet "/bin/sh" " ${ lib . getExe bashInteractive } "
103102
104103 # instruct users with problems to create a nixpkgs issue instead of nagging upstream directly
105104 substituteInPlace configure.ac \
You can’t perform that action at this time.
0 commit comments