Skip to content

Conversation

@grahamc
Copy link
Member

@grahamc grahamc commented Dec 24, 2025

Motivation

This PR replaces a bunch of hashes that are substitutable from cache.nixos.org with hashes that are unlikely to ever substitute.

Context

…nlikely to do so (for the diff from 3.14.0 to 3.15.0)
@github-actions
Copy link

github-actions bot commented Dec 24, 2025

@github-actions github-actions bot temporarily deployed to pull request December 24, 2025 01:46 Inactive
@grahamc
Copy link
Member Author

grahamc commented Dec 24, 2025

Checking this diff, none of the store paths mentioned appear load bearing.

@grahamc
Copy link
Member Author

grahamc commented Dec 24, 2025

I added this to a flake:

          fodnixRelease = pkgs.fetchFromGitHub {
            owner = "DeterminateSystems";
            repo = "nix-src";
            tag = "v3.15.0";
            hash = "sha256-0ZofAQZNgg5nfIKsVb7g4It6ufmIyLtfFRPOf+6WRkk=";
          };

          fodnixPr = pkgs.fetchFromGitHub {
            owner = "DeterminateSystems";
            repo = "nix-src";
            rev = "6faad2e461def3c2ef3579ae6d8bfd0663400bed";
            hash = "sha256-DEzZ1mU3CqCJ50JvLEu87cwNhGsbmWqOBjCQ19nXDxA=";
          };

and confirmed the release fails:

grahamc@Grahams-MacBook-Pro samples % nix build .#fodnixRelease
warning: Git tree '/Users/grahamc/src/github.com/DeterminateSystems/samples' has uncommitted changes
❌ git+file:///Users/grahamc/src/github.com/DeterminateSystems/samples#fodnixRelease
error: fixed-output derivations must not reference store paths: '/nix/store/cyxjnlx44n7bkg3fz4avscjxm36mc189-source.drv' references 1 distinct paths, e.g. '/nix/store/vj1c3wf9c11a0qs6p3ymfvrnsdgsdcbq-source-stdenv.sh'

while this PR succeeds.

@github-actions github-actions bot temporarily deployed to pull request December 24, 2025 02:37 Inactive
@grahamc grahamc added this pull request to the merge queue Dec 24, 2025
Merged via the queue into main with commit a1eaa2b Dec 24, 2025
27 checks passed
@grahamc grahamc deleted the push-osmzzxnttzok branch December 24, 2025 03:07
github-merge-queue bot pushed a commit that referenced this pull request Jan 6, 2026
Continuation of #306: Invalidate remaining hashes
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.

3 participants