mirror of
https://github.com/NixOS/nix
synced 2025-07-08 15:13:55 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ main() {
|
||||||
if ! test_fstab; then
|
if ! test_fstab; then
|
||||||
echo "Configuring /etc/fstab..." >&2
|
echo "Configuring /etc/fstab..." >&2
|
||||||
label=$(echo "$volume" | sed 's/ /\\040/g')
|
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
|
fi
|
||||||
|
|
||||||
echo "The following options can be enabled to disable spotlight indexing" >&2
|
echo "The following options can be enabled to disable spotlight indexing" >&2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue