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

Vladimír Čunát vcunat at gmail.com
Fri Jul 7 07:56:53 CEST 2017


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