forked from NixOS/nix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70f50cb
commit d1b088e
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
synopsis: Add new `eval-system` setting | ||
prs: 4093 | ||
--- | ||
|
||
Add a new `eval-system` option. | ||
Unlike `system`, it just overrides the value of `builtins.currentSystem`. | ||
This is more useful than overriding `system`, because you can build these derivations on remote builders which can work on the given system. | ||
In contrast, `system` also effects scheduling which will cause Nix to build those derivations locally even if that doesn't make sense. | ||
|
||
`eval-system` only takes effect if it is non-empty. If empty (the default) `system` is used as before, so there is no breakage. |