- Find the latest successful Hydra build for a nixpkgs channel
- Update the input to that revision
- With a workflow
- Or manually with
nix flake update --override-input nixpkgs github:NixOS/nixpkgs/<rev>
nix flake update --override-input nixpkgs github:NixOS/nixpkgs/<rev>