StoreReference::parse("./store")
eats the leading dot, yielding /store
(what!) and baffling errors for relative paths in --store
#479
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#479
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?
Fun way of breaking Lix (and CppNix 2.24 and probably other versions) just dropped:
Step 1: Start a daemon with an apparently-illegally non-absolute store path:
Step 2: Connect to it
Step 3: Daemon fails to make a directory it should have never been making in the first place and explodes:
Why? It appears that StoreReference::parse returns incorrect results for
./store
as a url. Note the storeURI.variant has the wrong authority, so I think the URI parser is returning garbage.Note: none of those line numbers are going to be cromulent for Lix, and maybe not even the stack trace. I did this on Nix 2.24.3, but Lix has the same bug in
nix (Lix, like Nix) 2.92.0-dev-pre20240818-007211e
, I just haven't bothered grabbing stacks for it.