Do users of immutable systems (i.e Nix or Guix) upgrade more or less often than other platforms?
There's less pressure to upgrade (unlike a rolling release distro) but in principle upgrading is easier.
Wilfred Hughes
@wilfredh I personally update every weekend and use the unstable branch as well
Harsh Shandilya@msfjarvis@androiddev.social
@wilfredh I run NixOS and I upgrade usually within a week of the release of a new version. It usually takes less than an hour of reading docs and running commands, and has never gone wrong yet.
Abhinav 🌏@abnv@fantastic.earth
@wilfredh I have two ways of using and updating Guix:
- My user profile containing everyday tools (Emacs etc.) is updated regularly, typically once a week unless I am travelling.
- My project-specific Guix containers are never updated in the course of a project. I use Guix' time machine to keep them at fixed commits of the various channels.
Konrad Hinsen@khinsen@scholar.social
@wilfredh@mastodon.social me on Guix:
updating the package list? (guix pull) once a week.
upgrading profile packages? (guix package -u) once a month (this one is super slow and can be tricky, but luckily we have rollback)
drěvo dužestv:oooooo:ĺno 🍕🍍@taxuswc@mk.phreedom.club
@wilfredh I'm addicted to updating software, so I always do it daily at least. I'm currently running Fedora Kinoite, and it seems Fedora atomic distros are generally updated daily.
Benjamin Kwiecień 🇵🇸@ben@kwiecien.us
@khinsen @wilfredh Isn't it worth trying to keep to the latest and greatest? You can always go back with time-machine if things don't work out.
Khleedril@khleedril@cyberplace.social
@khleedril The latest isn't always the greatest. It's even quite rare for me that my dependencies acquire useful new features, or improve significantly in other ways. So I spend my time in other ways than trying out new software versions.
@wilfredh
Konrad Hinsen@khinsen@scholar.social
I have a few NixOS systems but I run the unstable channel. I have a calendar reminder every week to update them but frankly I only really remember to when I'm doing any unrelated changes in config
One annoying thing about running unstable is that any update like this becomes a 20 GB practically redownload of the whole OS
I use nixos-unstable, which is rolling. I just have a twice weekly CI workflow on github update my flake.lock and trigger the rest of my CI (builds every system, all custom packages, checks to make sure things work), then I just manually merge when it passes CI.
Do you have custom patches? I'm struggling to imagine what CI will check for you. Are there times when normal packages don't build?
(I'm a total Nix newbie FWIW.)
Wilfred Hughes
on unstable, yes, sometimes. Closures can fail to build for all sorts of reasons tho—syntax errors, changes in upstream nixpkgs, changes in modules, hardware quirks, etc.
This also lets me push the closures to my nix cache, so my fleet doesn’t have to actually build anything and deployments are very fast. Not everything is in the nixpkgs cache because it’s dependent on your setup (any config file that needs generating,l etc).
And yeah, some customized packages!