nixos/stage-1: Zap no longer needed LD_LIBRARY_PATH

The previous commit properly adjusts all library paths, thus no need to
forcefully adjust the path at runtime any longer.
This commit is contained in:
Klemens Nanni 2022-05-15 01:35:15 +02:00
parent d33e52b253
commit 9eb704b65a

View File

@ -240,7 +240,6 @@ let
# Make sure that the patchelf'ed binaries still work.
echo "testing patched programs..."
$out/bin/ash -c 'echo hello world' | grep "hello world"
export LD_LIBRARY_PATH=$out/lib
${if zfsRequiresMountHelper then ''
$out/bin/mount -V 1>&1 | grep -q "mount from util-linux"
$out/bin/mount.zfs -h 2>&1 | grep -q "Usage: mount.zfs"
@ -285,8 +284,6 @@ let
} ''
mkdir -p $out
echo 'ENV{LD_LIBRARY_PATH}="${extraUtils}/lib"' > $out/00-env.rules
cp -v ${udev}/lib/udev/rules.d/60-cdrom_id.rules $out/
cp -v ${udev}/lib/udev/rules.d/60-persistent-storage.rules $out/
cp -v ${udev}/lib/udev/rules.d/75-net-description.rules $out/