lol

nixos-enter: Don't mount special filesystems

The activation script already does this.

+1 -5
+1 -5
nixos/modules/installer/tools/nixos-enter.sh
··· 45 45 esac 46 46 done 47 47 48 - # Set up some bind mounts we'll want regardless of chroot or not 49 - mkdir -m 0755 -p "$mountPoint/dev" "$mountPoint/proc" "$mountPoint/sys" "$mountPoint/run" 48 + mkdir -m 0755 -p "$mountPoint/dev" 50 49 mount --rbind /dev "$mountPoint/dev" 51 - mount -t proc none "$mountPoint/proc" 52 - mount -t sysfs none "$mountPoint/sys" 53 - mount -t tmpfs none "$mountPoint/run" 54 50 55 51 # Run the activation script. Set $LOCALE_ARCHIVE to supress some Perl locale warnings. 56 52 LOCALE_ARCHIVE=$system/sw/lib/locale/locale-archive chroot "$mountPoint" "$system/activate" >&2