@cwebber so, how does a functional distro deal with this? If something breaks, that means some of the software still has to stay on the vulnerable version, no?
@bugaevc Ever done an upgrade in a rush and something goes badly and your server is just hosed, and important packages are in an unusable state?
In Guix/Nix you can roll back of things go badly. And the upgrade is switched over atomically.
You can then also, in the worst case, just upgrade some packages and not others after you found out it didn't work.
You can also test the upgrade locally and "push" the upgrade from your workstation to your network of machines.
@cwebber ah, so you're mainly advocating for atomic (for easy rollback), and not for functional (everything pins its exact dependencies). That makes sense :)
Basically I ran into this issue after my system crashed mid rebuild: https://github.com/NixOS/nixpkgs/issues/18279#issuecomment-814504255
The solution was to do
sudo nixos-rebuild switch -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz
and use the nixpkgs tarball directly. Pretty cool that that's possible
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.