mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
simplify synthetic.conf install commands
This commit is contained in:
parent
209b3fa1a8
commit
a13e52e658
1 changed files with 3 additions and 3 deletions
|
@ -113,9 +113,9 @@ nix build ~/.config/darwin\#darwinConfigurations.Johns-MacBook.system
|
|||
# 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
|
||||
echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf
|
||||
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B
|
||||
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t
|
||||
|
||||
# Configure the channel
|
||||
nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
|
||||
|
|
Loading…
Add table
Reference in a new issue