Deprecate --system on the daemon or at least warn it's the wrong thing when it will blow up #694
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#694
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?
We occasionally have ux issues like this one and we could just stop this problem forever. --system should either not be accepted by the daemon from clients or it should generate a warning that they almost certainly mean --eval-system instead. The latter is easy, you can find how by looking at the trusted user implementation in the daemon which filters settings from the client; it would be in line with our "ignored setting because you're not trusted user" warning precedent.
#692
@jade regarding #692 - the suggestion to use --eval-system does not seem to always work. I found two packages where I cannot get my linux builder to build using
--eval-system
, while it seems to at least most of the time work with--system
. Recommending--eval-system
seems to at least require additional configuration or some other small bit to make it work as a replacement for--system
.Actually, to be more precise, I haven't found a package yet that is not ported to my system yet, that I can compile using
--eval-system
.(note: that is a flakes bug where eval -system is not considered. the daemon probably still should ignore --system which would rectify the ux issue mentioned by actually dispatching to a remote builder in that case, assuming flakes even look at --system to begin with)
This issue was mentioned on Gerrit on the following CLs:
Got it, the bug is that this use case is supposed to work with
--eval-system
but it doesn't, and using--system
only works accidentally some of the time.