this post was submitted on 25 Aug 2025
183 points (88.9% liked)
Memes
52090 readers
1182 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
sudo nix-rebuild switch
Is the routine I've settled into. Flake update because I use flakes, flake check because it's easier to see any warnings about deprecated options and the like so I can fix them preemptively, git commit after the check to avoid back-to back commits where the second is fixing some issue with the first, and nh because I like the pretty dependency graph and progress bar.
Lots of useful stuff here. Taking all of it.
Does
nh
usefast-nix-build
(or whatever the fancy nix builder CLI is called) to build your system?I honestly don't know how nh works under the hood, but it does seem to do concurrent builds, so it's probably something like that.