sxmo-utils: switch runtime shell back to bash, but still use busybux during build

no need to patch it out of the build process
This commit is contained in:
Colin 2023-08-07 04:29:38 +00:00
parent 07c0878d11
commit 132e15cb9f

View File

@ -1,4 +1,5 @@
{ stdenv { stdenv
, bash
, bc , bc
, bemenu , bemenu
, bonsai , bonsai
@ -42,14 +43,13 @@
let let
# anything which any sxmo script or default hook in this package might invoke # anything which any sxmo script or default hook in this package might invoke
runtimeDeps = [ runtimeDeps = [
# bc # busybox bc # also in busybox
bemenu bemenu
bonsai bonsai
busybox # sxmo targets busybox, which differs from non-busybox utilities in subtle ways (e.g. `pidof` behavior)
conky conky
dbus dbus
# dmenu # or dmenu-wayland? only used on x11? # dmenu # or dmenu-wayland? only used on x11?
# gnugrep # busybox gnugrep # also in busybox
gojq gojq
grim grim
inotify-tools inotify-tools
@ -162,7 +162,7 @@ stdenv.mkDerivation rec {
scdoc scdoc
]; ];
buildInputs = [ busybox ]; # needed here so stdenv's `patchShebangsAuto` hook sets the right interpreter buildInputs = [ bash ]; # needed here so stdenv's `patchShebangsAuto` hook sets the right interpreter
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall