abathur has joined #nix-darwin
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm has joined #nix-darwin
philr has quit [Ping timeout: 256 seconds]
butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has joined #nix-darwin
abathur has quit [Ping timeout: 258 seconds]
philr has quit [Ping timeout: 256 seconds]
philr has joined #nix-darwin
__monty__ has joined #nix-darwin
__monty__ has quit [Client Quit]
__monty__ has joined #nix-darwin
__monty__ has quit [Quit: leaving]
__monty__ has joined #nix-darwin
abathur has joined #nix-darwin
abathur has quit [Ping timeout: 255 seconds]
abathur has joined #nix-darwin
myskran has joined #nix-darwin
abathur has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 260 seconds]
butterthebuddha has joined #nix-darwin
myskran has quit [Ping timeout: 256 seconds]
abathur has joined #nix-darwin
<teehemkay> Hi. I installed nix on macOS Catalina by simply running
<teehemkay> https://github.com/NixOS/nix/blob/f35dfbf6cfca4791c9a42c3339413ac4e4ede986/scripts/create-darwin-volume.sh and then proceeding with the normal multi-user nix install. It worked like a cinch.
<teehemkay> I first answered 'y' to the installer question about creating `/run` but I got an error message about the volume being read-only.
<teehemkay> I re-ran the darwin-nix installer and this time answered 'n' to the question about creating `/run` and got the following message:
<teehemkay> I'm now trying to install nix-darwin but there's an issue with `/run`.
<teehemkay> setting up /run...
<teehemkay> ```
<teehemkay> error: Directory /run does not exist, aborting activation
<teehemkay> Would you like to create /run? [y/n] n
<teehemkay> Create a symlink to /var/run with:
<teehemkay> sudo ln -s private/var/run /run
<teehemkay> ```
<teehemkay> The suggested command `sudo ln...` doesn't work.
<teehemkay> Is the installer taking care of editing `/etc/synthetic.con` as it's done in the `create-darwin-volume.sh`?
<teehemkay> I mean to allow the `/run` volume
<LnL> teehemkay: yeah, it's not updated yet for catalina
<LnL> teehemkay: add run\tprivate/var/run to synthetic.conf an run /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B
<teehemkay> LnL: Thanks!
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<teehemkay> LnL: It worked.
<teehemkay> FYI, I to had set `programs.zsh.enable = true;` to enable darwin-nix activation on Catalina since the default shell is now `zsh` (also had to rename `/etc/zshrc and `/etc/zprofile`)
<LnL> right, probably makes sense to enable that by default since it became the standard shell
abathur has quit [Read error: Connection reset by peer]
ChanServ has quit [shutting down]
ChanServ has joined #nix-darwin
philr has joined #nix-darwin
__monty__ has quit [Quit: leaving]
philr has quit [Ping timeout: 258 seconds]
<teehemkay> LnL: FYI getting the following error on Catalina (due to how `/nix` is setup now):
<teehemkay> updating font octicons.ttf...
<teehemkay> ```configuring fonts...
<teehemkay> ```
<teehemkay> ln: failed to create hard link '/Library/Fonts/octicons.ttf' => '/nix/store/nl6mv0aymmla9c57bdpxg4yzf888qjlj-emacs-all-the-icons-fonts-3.2.0/share/fonts/all-the-icons/octicons.ttf': Cross-device link
<teehemkay> Please let me know if you want me to create a GH issue for this.