Merge pull request #150045 from Infinisil/fix-nixos-extraArgs
lib/nixos/eval-config.nix: Fix extraArgs
This commit is contained in:
commit
e817802236
1 changed files with 2 additions and 2 deletions
|
@ -53,12 +53,12 @@ let
|
|||
};
|
||||
|
||||
withWarnings = x:
|
||||
lib.warnIf (evalConfigArgs?args) "The extraArgs argument to eval-config.nix is deprecated. Please set config._module.args instead."
|
||||
lib.warnIf (evalConfigArgs?extraArgs) "The extraArgs argument to eval-config.nix is deprecated. Please set config._module.args instead."
|
||||
lib.warnIf (evalConfigArgs?check) "The check argument to eval-config.nix is deprecated. Please set config._module.check instead."
|
||||
x;
|
||||
|
||||
legacyModules =
|
||||
lib.optional (evalConfigArgs?args) {
|
||||
lib.optional (evalConfigArgs?extraArgs) {
|
||||
config = {
|
||||
_module.args = extraArgs;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue