Skip to content

Commit

Permalink
Merge pull request #1497 from abbradar/extra-args
Browse files Browse the repository at this point in the history
Use config._module.args instead of extraArgs
  • Loading branch information
roberth authored Jan 9, 2022
2 parents eb636fb + 206c7a7 commit 6de9d85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/eval-machine-info.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ in rec {
environment.checkConfigurationOptions = lib.mkOverride 900 checkConfigurationOptions;

nixpkgs.system = lib.mkDefault system;

_module.args = { inherit nodes resources uuid deploymentName; name = machineName; };
}
];
extraArgs = { inherit nodes resources uuid deploymentName; name = machineName; };
};
}
) (lib.attrNames (removeAttrs network [ "network" "defaults" "resources" "require" "nixpkgs" "_file" ])));
Expand Down

0 comments on commit 6de9d85

Please sign in to comment.