Merge pull request #41856 from woffs/vdevid
nixos/zfs: fix vdev_id PATH
This commit is contained in:
commit
d878456441
@ -6,6 +6,7 @@
|
||||
, zlib, libuuid, python, attr, openssl
|
||||
, libtirpc
|
||||
, nfs-utils
|
||||
, gawk, gnugrep, gnused, systemd
|
||||
|
||||
# Kernel dependencies
|
||||
, kernel ? null, spl ? null, splUnstable ? null, splLegacyCrypto ? null
|
||||
@ -82,6 +83,9 @@ let
|
||||
do
|
||||
substituteInPlace "$f" --replace "/lib/udev/vdev_id" "$out/lib/udev/vdev_id"
|
||||
done
|
||||
substituteInPlace ./cmd/vdev_id/vdev_id \
|
||||
--replace "PATH=/bin:/sbin:/usr/bin:/usr/sbin" \
|
||||
"PATH=${makeBinPath [ coreutils gawk gnused gnugrep systemd ]}"
|
||||
|
||||
./autogen.sh
|
||||
configureFlagsArray+=("--libexecdir=$out/libexec")
|
||||
|
Loading…
Reference in New Issue
Block a user