[Nix-dev] upgrades and channels

Eelco Dolstra eelco.dolstra at logicblox.com
Thu Jul 5 22:33:22 CEST 2012


Hi Mathijs,

On 05/07/12 16:29, Mathijs Kwik wrote:

> Can someone please tell me the differences between these 3 upgrade options?
> 
> nixos-rebuild:
> --upgrade fetch the latest version of NixOS before rebuilding

This is equivalent to:

$ nix-channel --update nixos
$ nixos-rebuild ...

So it's just a convenience.

> --pull     do a nix-pull to get the latest NixOS channel manifest

This is obsolete, but it may be useful for people who don't use the channel.  It
gets the latest NixOS manifest, but there is no guarantee that the manifest
corresponds to your NixOS/Nixpkgs revision.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list