Loading pkgs/build-support/vm/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -460,6 +460,8 @@ rec { # Make the Nix store available in /mnt, because that's where the RPMs live. mkdir -p /mnt${storeDir} ${util-linux}/bin/mount -o bind ${storeDir} /mnt${storeDir} # Some programs may require devices in /dev to be available (e.g. /dev/random) ${util-linux}/bin/mount -o bind /dev /mnt/dev # Newer distributions like Fedora 18 require /lib etc. to be # symlinked to /usr. Loading Loading @@ -498,7 +500,7 @@ rec { rm /mnt/.debug ${util-linux}/bin/umount /mnt${storeDir} /mnt/tmp ${lib.optionalString unifiedSystemDir "/mnt/proc"} ${util-linux}/bin/umount /mnt${storeDir} /mnt/tmp /mnt/dev ${lib.optionalString unifiedSystemDir "/mnt/proc"} ${util-linux}/bin/umount /mnt ''; Loading Loading
pkgs/build-support/vm/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -460,6 +460,8 @@ rec { # Make the Nix store available in /mnt, because that's where the RPMs live. mkdir -p /mnt${storeDir} ${util-linux}/bin/mount -o bind ${storeDir} /mnt${storeDir} # Some programs may require devices in /dev to be available (e.g. /dev/random) ${util-linux}/bin/mount -o bind /dev /mnt/dev # Newer distributions like Fedora 18 require /lib etc. to be # symlinked to /usr. Loading Loading @@ -498,7 +500,7 @@ rec { rm /mnt/.debug ${util-linux}/bin/umount /mnt${storeDir} /mnt/tmp ${lib.optionalString unifiedSystemDir "/mnt/proc"} ${util-linux}/bin/umount /mnt${storeDir} /mnt/tmp /mnt/dev ${lib.optionalString unifiedSystemDir "/mnt/proc"} ${util-linux}/bin/umount /mnt ''; Loading