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:
Daiderd Jordan authored and Domen Kožar committed 2020-05-26 11:39:03 +02:00
1 parent 5a16236307
commit ebfa913825
1 file changed
+1 -1
+1 -1
View File
@@ -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