cool, tnx And a question about NIX_PATH: by default it's NIX_PATH='/nix/var/nix/profiles/per-user/root/channels/nixos:nixpkgs=/etc/nixos/nixpkgs:nixos=/etc/nixos/nixos:nixos-config=/etc/nixos/configuration.nix:services=/etc/nixos/services'
I understand the name=value pairs give the <name> syntax, but how does a plain dirname (like the channels/nixos dir) get handled? I see it contains nixos and nixpkgs, but also a cryptic default.nix My local /home/mathijs/nix-dev dir contains nixos and nixpkgs. If I want to switch to using those instead of the channel (temporarily), can I just point NIX_PATH there? Or do I need the default.nix too? Or do I beeld to specify nixpkg= and nixos= separately? Thanks, Mathijs On Thu, Jul 5, 2012 at 10:33 PM, Eelco Dolstra <[email protected]> wrote: > 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/ > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
