git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #25391 from Mic92/nixos-prepare-root

nixos-prepare-root: force symlink at /run

commitdaf16b5679e4c371afe76e5ebe672fb68bb60dfe authorDaniel Peebles <copumpkin@users.noreply.github.com> dateMon 1 May 2017, 10:15 (10 years ago) parent3ecaf3b361314c
1 file changed+1−1
nixos/modules/installer/tools/nixos-prepare-root.sh+1−1
nixos/modules/installer/tools/nixos-prepare-root.sh+1−1
@@ -37,7 +37,7 @@ mkdir -m 0755 -p $mountPoint/tmp/root
3737mkdir -m 0755 -p $mountPoint/var
3838mkdir -m 0700 -p $mountPoint/root
3939
40−ln -s /run $mountPoint/var/run
40+ln -sf /run $mountPoint/var/run
4141
4242# Create the necessary Nix directories on the target device
4343mkdir -m 0755 -p \