summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKid <44045911+kidonng@users.noreply.github.com>2021-12-06 21:43:50 +0800
committerGitHub <noreply@github.com>2021-12-06 21:43:50 +0800
commitd75a4fcf4d636b6aa86361db4f2192d49577ebf9 (patch)
treea49e0df02188e5c76d2fda939596ce32db09b426
parent44da835ac40dab5fd231298b59d83487382d2fab (diff)
Add manual install command to create symlink after 10.15 Catalina
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index ef286ea..2e79a6e 100644
--- a/README.md
+++ b/README.md
@@ -110,7 +110,12 @@ nix build ~/.config/darwin\#darwinConfigurations.Johns-MacBook.system
## Manual Install
```bash
+# Before 10.15 Catalina
sudo ln -s private/var/run /run
+# After 10.15 Catalina
+echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf >/dev/null
+/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B &>/dev/null \
+ || /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t &>/dev/null
# Configure the channel
nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin