Remove unneeded /nix/rw-store creation when using readOnlyStore
This commit is contained in:
parent
f7d6e2940c
commit
28cf26d674
@ -49,7 +49,6 @@ chown 0:30000 /nix/store
|
|||||||
chmod 1775 /nix/store
|
chmod 1775 /nix/store
|
||||||
if [ -n "@readOnlyStore@" ]; then
|
if [ -n "@readOnlyStore@" ]; then
|
||||||
if ! mountpoint -q /nix/store; then
|
if ! mountpoint -q /nix/store; then
|
||||||
mkdir -p /nix/rw-store
|
|
||||||
mount --bind /nix/store /nix/store
|
mount --bind /nix/store /nix/store
|
||||||
mount -o remount,ro,bind /nix/store
|
mount -o remount,ro,bind /nix/store
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user