1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/tests
Domen Kožar 459f9e0185 Fix misleading error messages for missing NARs due to stale cache
When Nix's SQLite narinfo cache indicates a NAR exists, but the NAR
has been garbage collected from the binary cache, Nix displays error
messages even though the operation succeeds via fallback. This is
misleading because the cached narinfo is simply outdated.

This changes SubstituteGone exceptions to produce warnings instead of
errors, accurately reflecting that this is an expected cache coherency
issue, not an actual failure.

Fixes #11411

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 15:07:42 -05:00
..
functional Fix misleading error messages for missing NARs due to stale cache 2025-10-22 15:07:42 -05:00
installer Format .nix files 2025-01-24 17:04:02 +01:00
nixos test(nixos): add nix-prefetch-url test for S3 URLs with query parameters 2025-10-20 21:45:37 +03:00
repl-completion.nix Format .nix files 2025-01-24 17:04:02 +01:00