domenkozar[m] has quit [Ping timeout: 246 seconds]
domenkozar[m] has joined #nix-darwin
hmpffff_ has joined #nix-darwin
hmpffff has quit [Ping timeout: 240 seconds]
hmpffff has joined #nix-darwin
hmpffff_ has quit [Ping timeout: 240 seconds]
mpickering_ is now known as mpickering
qyliss has quit [Quit: bye]
qyliss has joined #nix-darwin
__monty__ has joined #nix-darwin
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nix-darwin
Mic92 has quit [Quit: WeeChat 2.8]
hmpffff_ has joined #nix-darwin
hmpffff has quit [Ping timeout: 246 seconds]
<teehemkay>
hi everyone
<teehemkay>
what's the recommended way to upgrade nix and nixpkgs when using nix-darwin
<teehemkay>
I'm on catalina and using a multi-user install
<teehemkay>
for nixpkgs I'm doing a `sudo -i zsh -c 'nix-channel --update'` (i'm using fish shell)
<teehemkay>
I'm thinking of just doing a `nix upgrade-nix` (i currently have Nix 2.3.3)
<LnL>
with nix-darwin it's updated along with everything else
<LnL>
for a vanilla install you're a bit on your own
<teehemkay>
LnL: thanks
<teehemkay>
so a simple `nix-channel --update darwin` followed by a `darwin-rebuild switch`?
<LnL>
nix comes from nixpkgs, but yeah
<teehemkay>
Doesn't seem to upgrade Nix, I'm stil at 2.3.3 and seem to recall seeing an announcement about 2.5 with (finally) integrated support for Catalina
<cransom>
afaik, if it's already installed, there's nothing added to the support for catalina. just an updated installer.
<LnL>
hmm do you have services.nix-daemon.enable = true; in your configuration?
<teehemkay>
LnL: I do
<teehemkay>
the newer version of Nix is 2.3.5 actually
<LnL>
what do you get with nix-instantiate '<nixpkgs>' -A nix
<teehemkay>
cransom: I did the catalina install manually by downloading the script to create the nix volume and then executing the Nix installer
<teehemkay>
LnL: `warning: you did not specify '--add-root'; the result might be removed by the garbage collector
<LnL>
yeah so that's the one in your current nixpkgs revision
hmpffff_ has quit [Quit: Bye…]
<teehemkay>
yep but I don't have the impression that nixpkgs is updating. In the past when I ran `sudo -i zsh -c 'nix-channel --update' I could seem that Mac taking time to download and then unpack Nixpkgs. Now it's instant as if it's not doing anything
<teehemkay>
Besides running `sudo -i zsh` and then `nix-channel --list` doesn't return anything
<teehemkay>
Shouldn't it show the `nixpkgs-unstable` channel and its URL?