Figure out what want-mass-query does and potentially remove it? #394
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
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
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#394
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?
As far as I can tell,
want-mass-query
affects exactly one conditional here: https://git.lix.systems/lix-project/lix/src/b8cb7abcf08be01a291c970164a3f44dfca0ddbf/src/libstore/local-store.cc#L1087Notably, there are other cases where we call
queryValidPaths
, so I don't know why it is behind a setting for substitution. I am guessing it might be related to very busted store backends like the ssh one that have horrible latency.The only thing that actually calls this functionality is
--prebuilt-only
and picking versions innix-env
. Which, uhhhhhhhhhhh. This is very badly documented. Also, part of its use innix-env
is mildly horrifying: it selects derivation versions by substitutability. I could see it being reasonable for stuff like Haskell where there's one preferred version that is built, and the others aren't, but, man this is a bad idea.Is this why
nix-env -i
without-A
is so slow?! Wow.