rshim-user-space: drop busybox dependency

With the current busybox runtime dependency, we ran into
issues originated in busybox being more minimal than the
full component.

Example:
[root@nixos:~]# bfb-install -r rshim0 -b installer.bfb
Checking if local host has root access...
lspci: invalid option -- 's'
BusyBox v1.36.1 () multi-call binary.

Usage: lspci [-mk]

List all PCI devices

	-m	Parsable output
	-k	Show driver
Checking if rshim driver is running locally...

Fix this by using the "full" dependency versions.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
This commit is contained in:
Markus Theil 2025-08-18 11:04:04 +02:00
parent 7d5b196195
commit 7f729db614
No known key found for this signature in database
GPG Key ID: FEE64346C8BF92AE

View File

@ -1,16 +1,23 @@
{ {
stdenv,
lib,
fetchFromGitHub,
autoconf, autoconf,
automake, automake,
makeBinaryWrapper, bashNonInteractive,
pkg-config, coreutils,
pciutils, fetchFromGitHub,
libusb1,
fuse, fuse,
busybox, gawk,
gnugrep,
gnused,
lib,
libusb1,
makeBinaryWrapper,
pciutils,
pkg-config,
procps,
pv, pv,
stdenv,
which,
util-linux,
withBfbInstall ? true, withBfbInstall ? true,
}: }:
@ -58,8 +65,16 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/bfb-install \ wrapProgram $out/bin/bfb-install \
--set PATH ${ --set PATH ${
lib.makeBinPath [ lib.makeBinPath [
busybox bashNonInteractive
coreutils
gawk
gnugrep
gnused
pciutils
procps
pv pv
util-linux
which
] ]
} }
''; '';