[Nix-dev] Best practice to keep a nixos system updated

Vladimír Čunát vcunat at gmail.com
Thu Mar 8 16:13:45 CET 2012


On 8 March 2012 12:06, Marco Maggesi <maggesi at math.unifi.it> wrote:
> 1. go to the hydra queue (http://hydra.nixos.org/queue);
> 2. if there are jobs running, wait a few hours;
> 3. otherwise, run immediately
>
> nixos-checkout; nixos-rebuild boot; nix-env --always -u \*
>
> and hope that the compilation of all the packages you need succeeded.
>
> Do I miss something?
> Is this the better we can do for now?
> If I understand correctly, we expect to improve the situation once the
> nixpkgs/nixos repository will be migrated on git?  Right?

Hi.

ad 1. I rather use the lines named trunk : number of builds running
(on http://hydra.nixos.org/project/nixpkgs and
http://hydra.nixos.org/project/nixos)

And for nixpkgs I often use first "nix-env -b -u --leq -A all" and
"nix-env -u -A vip" afterwards...

Vlada


More information about the nix-dev mailing list