diff --git a/CLAUDE.md b/CLAUDE.md index df5d8ed498..2d5441dae2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -84,7 +84,7 @@ outputs = inputs: lib.merge [ sops-nix). Secrets themselves live under `sops/` and `secrets/` (see `.sops.yaml`). - Most flake inputs pin to `nixpkgs-unstable` (aliased as the main `nixpkgs` input) because of a `neededForBoot` patch (`patches/nixpkgs/neededforboot-nixos-unstable.patch`) that only applies - cleanly to the unstable tree — don't re-follow individual inputs back to `nixpkgs-stable`/`-25` + cleanly to the unstable tree — don't re-follow individual inputs back to `nixpkgs-25` without checking that patch still applies. - Root-level single-letter/word symlinks (`rebuild`, `auth`, `nvim`, `n`, `v`, `format-nix`, ...) are convenience aliases into `lib/*.sh`; `lib/` here is shell scripts, distinct from the Nix diff --git a/flake.lock b/flake.lock index 2724babf19..cabf066c5d 100644 --- a/flake.lock +++ b/flake.lock @@ -1797,36 +1797,6 @@ "type": "github" } }, - "nixpkgs-master": { - "locked": { - "lastModified": 1791770674, - "narHash": "sha256-xmWtGYdXEPQwUoWodaHQ4iBLWC0gW+BzLAw3VvyDSao=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "c61a74e1e2c8c75d774d7883927d3d21cb7d4e90", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-stable": { - "locked": { - "lastModified": 1791585830, - "narHash": "sha256-dzapQzX0g72M5iZ+QwIiL1gzZXzplzQPNYFlP/n+c3w=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "cfdb2236cff2a6adaace5a4ef37ea73152d710e9", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs_10": { "locked": { "lastModified": 1791048980, @@ -2481,8 +2451,6 @@ "nixpkgs-unstable" ], "nixpkgs-25": "nixpkgs-25", - "nixpkgs-master": "nixpkgs-master", - "nixpkgs-stable": "nixpkgs-stable", "nixpkgs-unstable": [ "fleet", "nixpkgs" diff --git a/flake.nix b/flake.nix index f013f8a46e..3358bb3c16 100755 --- a/flake.nix +++ b/flake.nix @@ -95,7 +95,6 @@ rec { # the two can never drift apart again. nixpkgs.follows = "nixpkgs-unstable"; nixpkgs-25.url = "github:NixOS/nixpkgs/nixos-unstable"; # ?shallow=1"; - nixpkgs-stable.url = "github:NixOS/nixpkgs"; # ?shallow=1"; # 2026-11-02: nixpkgs-unstable now follows the fleet-wide pin in # dezren39/fleet, so code, opencode and openchamber all build # against the SAME nixpkgs revision and share one store closure. @@ -106,7 +105,9 @@ rec { # update dezren39/fleet's flake, then re-lock here. fleet.url = "github:dezren39/fleet"; nixpkgs-unstable.follows = "fleet/nixpkgs"; - nixpkgs-master.url = "github:NixOS/nixpkgs"; # ?shallow=1"; + # No master or stable-channel nixpkgs inputs (#3327, Drew directive 2026-10-31): + # amd draws only from the nixos-unstable set (nixpkgs-unstable, fleet-pinned). + # Master revs skip Hydra and force source builds; do not re-add a master input. sops-nix = { # TODO: update! way out of date even as of 2026-03 diff --git a/home/common/default.nix b/home/common/default.nix index 3020aab821..5417248008 100644 --- a/home/common/default.nix +++ b/home/common/default.nix @@ -378,7 +378,7 @@ in # }; activitywatch = { enable = true; - package = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.activitywatch; + package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.activitywatch; }; }; # Every opencode on this machine is the 2.x fork (CLI and server), whose @@ -1198,7 +1198,7 @@ in # }; ghostty = { enable = true; - package = inputs.nixpkgs-master.legacyPackages.${system}.ghostty; + package = inputs.nixpkgs-unstable.legacyPackages.${system}.ghostty; settings = { # ghostty +list-themes theme = "Synthwave"; diff --git a/nixos/environment/default.nix b/nixos/environment/default.nix index 1fa34fb236..2841b06ac2 100644 --- a/nixos/environment/default.nix +++ b/nixos/environment/default.nix @@ -386,7 +386,7 @@ in variables = { EDITOR = "nvim"; NIX_REMOTE = "daemon"; - PLAYWRIGHT_BROWSERS_PATH = "${inputs.nixpkgs-master.legacyPackages.${system}.playwright-driver.browsers + PLAYWRIGHT_BROWSERS_PATH = "${inputs.nixpkgs-unstable.legacyPackages.${system}.playwright-driver.browsers }"; }; # things should end up in systempackages if @@ -713,7 +713,6 @@ in androidSdk.androidsdk ]) ++ (with inputs.nixpkgs-25.legacyPackages.${system}; [ activitywatch ]) - ++ (with inputs.nixpkgs-stable.legacyPackages.${system}; [ ]) ++ (with inputs.nixpkgs-unstable.legacyPackages.${system}; [ # AI coding agents. Kept on the unstable channel rather than master # because unstable is cached (see the chromium note below) and these @@ -736,12 +735,12 @@ in # gemini-cli-extensions/jules extension. gemini-cli ]) - ++ (with inputs.nixpkgs-master.legacyPackages.${system}; [ + ++ (with inputs.nixpkgs-unstable.legacyPackages.${system}; [ ghostty zed-editor # opencode ]) - ++ (with inputs.nixpkgs-master.legacyPackages.${system}; [ + ++ (with inputs.nixpkgs-unstable.legacyPackages.${system}; [ # rclone # fish completions broke 2025-04-03 # rclone-browser # fish completions broke 2025-04-03 # rclone-ui # fish completions broke 2025-04-03 @@ -782,7 +781,7 @@ in bun nodejs # npm, npx (mise.overrideAttrs (old: { - # 29 unit tests fail in sandbox (network-dependent); raw master input bypasses nixpkgs.overlays + # 29 unit tests fail in sandbox (network-dependent); raw nixpkgs-unstable input bypasses nixpkgs.overlays doCheck = false; # libz-ng-sys build script requires cmake nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.cmake ]; @@ -932,7 +931,7 @@ in # lsix # mesa.drivers # cargo / rustc come from `rustToolchain` below (1.99.0 + clippy / - # rust-analyzer / llvm-tools), not the nixpkgs-master build. + # rust-analyzer / llvm-tools), not the nixpkgs build. rustup # simple-http-server timg @@ -970,7 +969,9 @@ in gtk3 gtk4 #hackgen-nf-font - haskellPackages.misfortune + # misfortune is pinned to the nixpkgs-25 set: in the fleet-pinned unstable rev its + # regex-pcre dependency is marked broken, which refuses evaluation (#3327 pin exception). + (inputs.nixpkgs-25.legacyPackages.${system}.haskellPackages.misfortune) hasklig hledger hledger-iadd