Lix currently does a lot of NAR processing for binary caches that it should delegate #578
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#578
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?
Lix contains things from a .ls file generator (fine, I suppose), to a debuginfo map generator for dwarffs (pretty serious layering violation), which were implemented in Nix since it was the most expedient place and probably nobody was there to stop it at the time, but it really should be part of the binary cache implementation since any serious binary cache needs more than what Lix provides. These also work for directory binary caches, even!
In a similar way to the serve protocol becoming legacy cruft because something else would do the job better, this functionality probably should be moved outside of Lix core.
Arguably, even, fancy functionality for s3 caches should really be in an external project that does a better job of focusing on them.
That being said, there are a few barriers that I think have stopped this from happening already:
nix copy
and probably doing a lot of shelling out; though the latter probably is less bad than one might imagine. Nevertheless it is not great to not be able to reuse the graph visiting algorithms inside the Lix implementation and so on.@pennae wanted to delete the debuginfo mapping functionality, but I suspect it is in active usage and is probably currently mandatory for Hydra (h-n-o scale Hydra, at least), in spite of really being more reasonable as a post-processing step or so implemented on the binary cache side or as a Fancy S3 Client for Making Good Binary Caches.