Remove unneeded /nix/rw-store creation when using readOnlyStore

This commit is contained in:
Shea Levy 2013-01-24 20:50:28 -05:00
parent f7d6e2940c
commit 28cf26d674

View file

@ -49,7 +49,6 @@ chown 0:30000 /nix/store
chmod 1775 /nix/store
if [ -n "@readOnlyStore@" ]; then
if ! mountpoint -q /nix/store; then
mkdir -p /nix/rw-store
mount --bind /nix/store /nix/store
mount -o remount,ro,bind /nix/store
fi