nix flake check
cannot be convinced to build derivations on other systems, ignores eval-system
, ignores system
#673
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#673
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?
Describe the bug
I want to build the flake checks for another system and remote-build it. This is, of course, Impossible.
nix flake check
is bugged so it doesn't useeval-system
to consider what its local system is. This is probably a bug affecting all of flakes.nix flake check
is using some heuristic to decide whether it can build something which is not "trying to build it and seeing if build-remote rejects it". This is wrong or at least should be possible to override to actually try to build it.Steps To Reproduce
flake.nix:
Note that at no point did it try building the derivation even though it has the ability to build it. And also,
--system
should basically never be used since it tricks this Nix into thinking it can locally execute things which it cannot execute.--eval-system
is the correct arg in my mental model to convince it to do this, but it doesn't work.Expected behavior
It should build the derivation or attempt to. It should use the remote builders as configured to do so.
nix --version
outputAdditional context
Add any other context about the problem here.
This issue was mentioned on Gerrit on the following CLs: