[Nix-dev] Using system.autoUpgrade with a git channel

John Ramsden johnramsden at riseup.net
Fri Jul 7 08:36:35 CEST 2017


Thanks that's helpful. In other words if I'm using a checked out git
repository I'm no longer able to use 'system.autoUpgrade'.

-- 
  John Ramsden

On Thu, Jul 6, 2017, at 10:56 PM, Vladimír Čunát wrote:
> On 07/07/2017 01:46 AM, John Ramsden via nix-dev wrote:
> > I was also wondering what exactly the 'nixos-rebuild switch' command's
> > '--upgrade' flag does.
> 
> It does
> $ nix-channel --update nixos
> Best see the source if you want details, as it's relatively simple:
> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-rebuild.sh#L197
> 
> --Vladimir


More information about the nix-dev mailing list