Add binary cache only for content-addressed paths #1128
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
awaiting
author
awaiting
contributors
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
Feature/S3
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lix-project/lix#1128
Loading…
Add table
Add a link
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?
Is your feature request related to a problem? Please describe.
I'm always frustrated when github / kernel.org / ... blocks me from downloading eval or build sources, and then my whole build fails, and also when downloading eval sources is slow.
Describe the solution you'd like
I wish I could use an archival binary cache just for content-addressed paths (including eval sources with narHash), so that I don't have to trust this binary cache. Then, the sources could be downloaded from the fast binary cache and I wouldn't run into rate limits or be blocked by temporary downtimes of the original sources.
Describe alternatives you've considered
For FODs some of these mechanisms already exist (at least in nixpkgs when building them, multiple mirrors can be tried). I could attempt to convert all my eval sources to FODs + IFD.
Additional context
this would be really nice to have, but doing it properly requires some rearchitecturing of how we handle caches in general. probably won't happen any time soon :(