Re: [Nix-dev] Where to start when nixos-rebuild switch --upgrade goes wrong

2016-06-12 Thread Evan Rowley
A simple "nixos-rebuild switch --rollback" took the machine back to 16.03.836.aff03ae. Afterwards, a "nixos-rebuild switch --upgrade" brought it to 16.03.909.f199be0. Machine is working now. Thanks to all the nix devs who made rollback functionality work so well. -- - EJR

Re: [Nix-dev] Where to start when nixos-rebuild switch --upgrade goes wrong

2016-06-11 Thread James Cook
FWIW, I sometimes use git-bisect to find the first revision where nixos-rebuild builds something with the problem. It's a huge headache, though, due to having to reboot so many times and worrying that I might stumble upon a revision that's more seriously broken. I just did this to figure out why

Re: [Nix-dev] Where to start when nixos-rebuild switch --upgrade goes wrong

2016-06-10 Thread zimbatm
I usually try to look at the recent changes to find out what might gotten wrong, both in the configuration.nix and nixpkgs. Unfortunately I don't know of a tool that could provide that diff between two generations so I usually stick to one change at a time. On Fri, 10 Jun 2016, 01:48 Evan Rowley,

[Nix-dev] Where to start when nixos-rebuild switch --upgrade goes wrong

2016-06-09 Thread Evan Rowley
Hi Everyone, I performed a nixos-rebuild switch --upgrade and after rebooting, was not able to see my usual KDE session. There was no X session. I selected a previous generation in gummiboot and was able to have my KDE session back. What can I do about the upgraded components which did not work?