aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:21:01 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:21:01 +0100
commit7614aa97975f3e6e36b6ffbd9fec34462021ab39 (patch)
treeebb2521607d7b5a30fadcc13e0af889159d5af2e /doc
parent64a269ef73b111d49037812bd899b5cb883158ef (diff)
Merge pull request #4093 from matthewbauer/eval-system
Add eval-system option (cherry picked from commit 071dbbee33af9f27338c3e53e4ea067dbfa14010) Change-Id: Ia81358c8cfb60241da07a4d0e84b9ee62a18a53f
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/rl-next/eval-system.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/manual/rl-next/eval-system.md b/doc/manual/rl-next/eval-system.md
new file mode 100644
index 000000000..a4696a56c
--- /dev/null
+++ b/doc/manual/rl-next/eval-system.md
@@ -0,0 +1,12 @@
+---
+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.