sparogy has quit [Ping timeout: 252 seconds]
sparogy has joined #nix-darwin
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
<teehemkay> /nix/store/y0f1pr8ar6d1yr8m9yyw3lyycsl9f4hh-nix-2.3.3.drv
<teehemkay> /nix/var/nix/profiles/per-user/tmk/channels/darwin`
<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?
hmpffff has joined #nix-darwin
<LnL> it should
<teehemkay> thought so.
<teehemkay> so I just went ahead and did a `nix-channel --add https://nixos.org/channels/nixpkgs-unstable` as root
<teehemkay> now, `nix-channel --list` -> `nixpkgs https://nixos.org/channels/nixpkgs-unstable`
<teehemkay> and `nix-instantiate '<nixpkgs>' -A nix`:
<teehemkay> warning: you did not specify '--add-root'; the result might be removed by the garbage collector
<teehemkay> /nix/var/nix/profiles/per-user/tmk/channels/darwin
<teehemkay> /nix/store/40cd67bnb5yqd3l3czgv635wavz5gl3a-nix-2.3.6.drv
<LnL> that looks better :)
<teehemkay> LnL: thanks for your quick answers and helping me out :-)
philr_ has quit [Ping timeout: 240 seconds]
__monty__ has quit [Quit: leaving]
hmpffff has quit [Quit: nchrrrr…]
mbrgm_ has joined #nix-darwin
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm