2024-03-04 07:21:01 +01:00
|
|
|
---
|
|
|
|
synopsis: Add new `eval-system` setting
|
|
|
|
prs: 4093
|
2024-05-15 04:14:58 +02:00
|
|
|
credits: [matthewbauer, horrors]
|
|
|
|
category: Features
|
2024-03-04 07:21:01 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
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.
|
2024-05-06 00:32:20 +02:00
|
|
|
In contrast, `system` also effects scheduling which will cause Lix to build those derivations locally even if that doesn't make sense.
|
2024-03-04 07:21:01 +01:00
|
|
|
|
|
|
|
`eval-system` only takes effect if it is non-empty.
|
|
|
|
If empty (the default) `system` is used as before, so there is no breakage.
|