Store path substitution very badly handles unreachable/broken substituters #339
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#339
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Certain errors raised by substituters end up being "fatal" and causing Lix to not try further configured substituters or local builds. This needs investigation to figure out in which exact situation this happens, but here's an example log from my system with "substituters = s3://some-cache-which-was-down/ https://cache.nixos.org/":
Steps To Reproduce
To be determined.
Expected behavior
More concise error handling and better recovery: attempt fetching from other substituters as well as locally building.
nix --version
outputnix (Lix, like Nix) 2.90.0-lixpre20240506-106b959
Additional context
This Nix PR seems related but was ignored by the Nix devteam and never merged: https://github.com/NixOS/nix/pull/8983