Skip to content

nix: drop nixpkgs-master and nixpkgs-stable inputs (#3327) - #5311

Merged
dezren39 merged 1 commit into
mainfrom
queue/8943-3327-drop-nixpkgs-master
Nov 4, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/8943-3327-drop-nixpkgs-master

Conversation

@dezren39

@dezren39 dezren39 commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Summary

Drop the nixpkgs-master and nixpkgs-stable flake inputs (both ref-less github:NixOS/nixpkgs, i.e. master-tracking) so amd draws only from the nixos-unstable set, per Drew's 2026-10-31 directive tracked in #3327.

  • flake.nix: both inputs removed, with an in-place comment recording the directive; flake.lock pruned via nix flake lock (32 lines, no other rev churn).
  • Every former master consumer now evaluates from nixpkgs-unstable (fleet-pinned): ghostty (home + system), zed-editor, PLAYWRIGHT_BROWSERS_PATH (playwright-driver), and the framework-tool…helm system package block.
  • Stable consumers handled: home activitywatch repointed to nixpkgs-unstable; the empty (with nixpkgs-stable; [ ]) system list removed. (flake.nix:115's inputs.nixpkgs-stable.follows is sops-nix's own input name and is untouched.)
  • Stale comments updated (mise overlay note, rust toolchain note, CLAUDE.md stable reference).

Pin exception (acceptance-sanctioned, justified in place)

haskellPackages.misfortune is taken from the existing nixpkgs-25 set, with an in-place comment: in the fleet-pinned unstable rev its dependency regex-pcre-0.95.0.1 is marked broken and NixOS refuses to evaluate it. This was found by bisecting the moved package block (first half failed, second half passed) and confirmed from the package's dependency list in the pinned source. Every other moved package evaluates cleanly from unstable.

Evidence

  • Before (this branch without the pin): nix eval .#nixosConfigurations.amd.config.system.build.toplevel.drvPath fails — "Refusing to evaluate package 'regex-pcre-0.95.0.1' … broken".
  • Control: the same eval on clean origin/main succeeds — the failure was introduced by the move, not pre-existing.
  • After: the same eval succeeds on this branch — drvPath /nix/store/jjgyll4svw2dig1gbdz7ig5ng5gp358b-nixos-system-amd-26.11.20261102.f9887a8.drv (eval only, no build, on the laptop).
  • git grep nixpkgs-master in live code now returns nothing (remaining hits are the generic branch-discovery just tooling in pkgs/id/justfile + scripts/, generated just-recipes.json, and doc/ history — the recipes discover inputs by branch from any flake.lock and are not orphaned by this input's removal).

Closes #3327

Queue: repo-health-code-pilot task 8943, lane code-f.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

amd draws only from the nixos-unstable set (fleet-pinned) per Drew's 2026-10-31 directive. All former master consumers (ghostty, zed-editor, playwright-driver, the framework-tool..helm package block) and the stable consumers (activitywatch; the empty stable list is removed) now evaluate from nixpkgs-unstable. flake.lock pruned by nix flake lock (both inputs removed, no other rev churn).

Pin exception, justified in place: haskellPackages.misfortune is taken from the nixpkgs-25 set because its regex-pcre dependency is marked broken in the fleet-pinned unstable rev and refuses evaluation; every other moved package evaluates cleanly from unstable (verified by bisect + full eval).

Verified: nix eval .#nixosConfigurations.amd.config.system.build.toplevel.drvPath succeeds on this branch; the same eval on clean origin/main also succeeds, and on this branch without the misfortune pin it fails with the regex-pcre broken-package refusal.
@dezren39
dezren39 requested a review from a team as a code owner November 4, 2026 06:12
@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 3 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3ffdf3a8-c9f8-422a-8f6d-713958f22861
Commits

Reviewing files that changed from the base of the PR and between 0dab47d and 321ad14.

Files ignored due to path filters: 1
  • flake.lock is excluded by !**/*.lock
Files selected for processing: 4
  • CLAUDE.md
  • flake.nix
  • home/common/default.nix
  • nixos/environment/default.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T06:13:49.886742Z 321ad14 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 6ed2ae7 into main Nov 4, 2026
1 check passed
@dezren39
dezren39 deleted the queue/8943-3327-drop-nixpkgs-master branch November 4, 2026 06:16
developing-today Bot pushed a commit that referenced this pull request Nov 4, 2026
…nel rev)

just update-nixpkgs-unstable: the only direct nixos-unstable input left on main is nixpkgs-25 (nixpkgs/nixpkgs-unstable follow the fleet pin since #5311). Pinned to the Hydra-gated channel revision 1d060086d60c (jobset nixos:unstable, eval 1830995, latest finished tested build 352014846) instead of branch HEAD. Consumers: activitywatch + haskellPackages.misfortune (nixos/environment/default.nix).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nixpkgs: drop the nixpkgs-master input — amd should draw only from nixos-unstable (Drew directive)

1 participant