Last active
February 28, 2020 17:25
-
-
Save Boarders/e88e852c3395ef96dfba987c7b651396 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ set -e | |
+ main | |
+ echo '' | |
+ echo ' ------------------------------------------------------------------ ' | |
------------------------------------------------------------------ | |
+ echo ' | This installer will create a volume for the nix store and |' | |
| This installer will create a volume for the nix store and | | |
+ echo ' | configure it to mount at /nix. Follow these steps to uninstall. |' | |
| configure it to mount at /nix. Follow these steps to uninstall. | | |
+ echo ' ------------------------------------------------------------------ ' | |
------------------------------------------------------------------ | |
+ echo '' | |
+ echo ' 1. Remove the entry from fstab using '\''sudo vifs'\''' | |
1. Remove the entry from fstab using 'sudo vifs' | |
+ echo ' 2. Destroy the data volume using '\''diskutil apfs deleteVolume'\''' | |
2. Destroy the data volume using 'diskutil apfs deleteVolume' | |
+ echo ' 3. Delete /etc/synthetic.conf' | |
3. Delete /etc/synthetic.conf | |
+ echo '' | |
+ '[' -L /nix ']' | |
+ test_synthetic_conf | |
+ grep -q '^nix' /etc/synthetic.conf | |
+ test_nix | |
+ test -d /nix | |
+ echo 'Creating mountpoint for /nix...' | |
Creating mountpoint for /nix... | |
+ sudo mkdir /nix | |
mkdir: /nix: Read-only file system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment