Skip to content

Update flake.nix to 26.05#422

Merged
jupblb merged 8 commits into
mainfrom
michal/nix-update
May 29, 2026
Merged

Update flake.nix to 26.05#422
jupblb merged 8 commits into
mainfrom
michal/nix-update

Conversation

@jupblb
Copy link
Copy Markdown
Collaborator

@jupblb jupblb commented May 29, 2026

Main change is in flake.nix file. Everything else is either irrelevant or automatically generated.

@jupblb jupblb requested review from emidoots, eseliger, peterguy and trly May 29, 2026 07:33
@jupblb jupblb enabled auto-merge (squash) May 29, 2026 07:33
jupblb added 5 commits May 29, 2026 09:37
crates.io's API host (https://crates.io/api/v1/crates) started rejecting
default HTTP-library User-Agents (curl/*, python-requests/*) around
2026-05-27 per their crawler policy. fetchurl shells out to curl with
the default UA, so pkgs.fetchCrate fails with HTTP 403.

nixos-26.05 (the new pin) ships the static.crates.io switch for
importCargoLock and fetchCargoVendor, but fetchcrate.nix still defaults
registryDl to the blocked API host and has no upstream fix yet. Override
registryDl on the one fetchCrate call we have. The static CDN serves
identical bytes, so the existing content-addressed hash is unchanged.

Remove this override once nixpkgs ships an analogous fix for
fetchcrate.nix (counterpart to PR #512735 / PR #524988).
@jupblb jupblb force-pushed the michal/nix-update branch from be4d9bd to 72d2e81 Compare May 29, 2026 08:53
@jupblb jupblb changed the title Update flake.lock Update flake.nix to 26.05 May 29, 2026
@jupblb jupblb merged commit cb90983 into main May 29, 2026
13 checks passed
@jupblb jupblb deleted the michal/nix-update branch May 29, 2026 14:44
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.

2 participants