Making NixOS updates miss the cache less?

In the past few weeks every time I updated my flake.lock I needed to build firefox, webkit, ghc or another big package if I tried rebuilding my system immediatly after updating. Waiting a few days for the binary cache to catch up and trying again works, but I am looking for a better solution.

Is there a way to tell nix flake update to only update up to a revision for which all needed packages/a selection of packages with long build times are in the binary cache?
Are there other ways to work around this?

I never had any issues with unexpected rebuilds. Which branch are you following?

:man_facepalming:

I am on release-21.11. That should probably be nixos-21.11, right? I feel stupid.

1 Like

Right. Don’t use release-*

Thank you for your help.