Skip to content

Commit

Permalink
evalConfig: Ensure system is null for eval-config
Browse files Browse the repository at this point in the history
Otherwise we get failures in hermetic builds where
builtins.currentSystem does not exist

See
NixOS/nixpkgs@693e2c3
for the change that made this necessary. This is in release-23.05, so it
will be necessary soon
  • Loading branch information
srhb committed May 23, 2023
1 parent df3d466 commit 7c94672
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/eval-machines.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ in rec {
listToAttrs (map (machineName:
{ name = machineName;
value = import evalConfig {
# Force decide system in module system
system = null;
modules = modules {
inherit machineName;
check = false;
Expand All @@ -67,6 +69,8 @@ in rec {
listToAttrs (map (machineName:
{ name = machineName;
value = import evalConfig {
# Force decide system in module system
system = null;
modules = modules {
inherit machineName;
check = true;
Expand Down

0 comments on commit 7c94672

Please sign in to comment.