mirror of
https://github.com/NixOS/nix.git
synced 2025-02-16 17:02:28 +00:00
install: hide the store volume on darwin
(cherry picked from commit caface1980
)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
5a16236307
commit
ebfa913825
@ -94,7 +94,7 @@ main() {
|
||||
if ! test_fstab; then
|
||||
echo "Configuring /etc/fstab..." >&2
|
||||
label=$(echo "$volume" | sed 's/ /\\040/g')
|
||||
printf "\$a\nLABEL=%s /nix apfs rw\n.\nwq\n" "$label" | EDITOR=ed sudo vifs
|
||||
printf "\$a\nLABEL=%s /nix apfs rw,nobrowse\n.\nwq\n" "$label" | EDITOR=ed sudo vifs
|
||||
fi
|
||||
|
||||
echo "The following options can be enabled to disable spotlight indexing" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user