rootfs: LD_LIBRARY_PATH fix is now global
@@ -96,6 +96,8 @@ let
stage1 = writeScript "stage1" ''
#!${shell}
export PATH=${extraUtils}/bin/
+ export LD_LIBRARY_PATH=${extraUtils}/lib
+
mkdir -p /proc /sys /dev /etc/udev /tmp /run/ /lib/ /mnt/ /var/log /etc/plymouth /bin
mount -t devtmpfs devtmpfs /dev/
mount -t proc proc /proc
@@ -227,7 +229,6 @@ let
# THIS IS HIGHLY INSECURE
# This allows blank login passwords.
- LD_LIBRARY_PATH=$(echo /nix/store/*extra-utils/lib) \
dropbear -ERB -b /etc/banner
set_framebuffer_mode() {
