7614aa9797
Add eval-system option (cherry picked from commit 071dbbee33af9f27338c3e53e4ea067dbfa14010) Change-Id: Ia81358c8cfb60241da07a4d0e84b9ee62a18a53f
570 B
570 B
synopsis | prs |
---|---|
Add new `eval-system` setting | 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.