5171a10079
Rebase the fork branches and refresh nixpkgs, home-manager, and the approved ancillary inputs. Update kernel and release metadata, adapt removed package and Home Assistant options, and keep Determinate Nix on its tested nixpkgs revision to avoid duplicate Boost patches. Retire Sharry and its public endpoint because copyparty replaces it. Document the GitHub mirror gate and require real devshell and system builds in the upgrade validation workflow.
2.0 KiB
2.0 KiB
name, description
| name | description |
|---|---|
| upgrade-nixpkgs | Upgrade all four nixpkgs channels (unstable, stable, mine, mine-stable) and home-manager for this flake: check for a NixOS stable bump, rebase the devplayer0 nixpkgs fork, update kernel and release metadata, refresh pins, sweep version-gated TODOs, and review other inputs. Use when the user wants to update/bump nixpkgs, refresh the pins, or do the periodic nixpkgs/home-manager upgrade. |
Upgrade nixpkgs
Read docs/nixpkgs-upgrade.md, the canonical procedure, and
follow its phases in order.
Key reminders (see the doc for the full steps):
- It is guided, not automated — do the mechanical and investigative work but stop at the ⏸ points: pushing the fork, resolving rebase conflicts, applying a stable-channel bump, choosing a new release codename, and deleting version guards. Report the findings and let the user decide.
- Check the current NixOS stable first (Phase 1) — the fork's
devplayer0-stablerebase target and theflake.nixstable pins must agree on one release. - Re-verify the patch stack against freshly fetched upstream, not stale refs — enumerate it with
git log; don't assume a remembered list. - After pushing the rebased fork branches, wait for the GitHub mirror to catch up before
refreshing flake pins. The
nixpkgs-mine*inputs fetch from GitHub, not the fork's primary remote; verify both GitHub branch tips match the pushed local tips first. - After refreshing the pins, update
lib/constants.nixto the current explicit LTS and latest kernel package attributes, and update thelib/default.nixversion overlay'sYY.MMprefix to the current month. Change its codename only when the stable channel advances. - After the cheap evaluations pass, build the actual devshell and one representative NixOS system
(prefer the local box).
nix flake check --no-builddoes not expose dependency build failures; this is especially important when updating build-tool inputs such as Determinate Nix.