mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
eval-config.nix: Fix args warning
This commit is contained in:
parent
40b518d336
commit
0937f9c060
1 changed files with 5 additions and 4 deletions
|
@ -8,10 +8,12 @@
|
|||
}@args:
|
||||
|
||||
let
|
||||
inputsModule = {
|
||||
argsModule = {
|
||||
_file = ./eval-config.nix;
|
||||
config = {
|
||||
_module.args.inputs = inputs;
|
||||
_module.args = {
|
||||
inherit baseModules inputs modules;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -33,8 +35,7 @@ let
|
|||
});
|
||||
|
||||
eval = libExtended.evalModules (builtins.removeAttrs args [ "inputs" "system" ] // {
|
||||
modules = modules ++ [ inputsModule pkgsModule ] ++ baseModules;
|
||||
args = { inherit baseModules modules; };
|
||||
modules = modules ++ [ argsModule pkgsModule ] ++ baseModules;
|
||||
specialArgs = { modulesPath = builtins.toString ./modules; } // specialArgs;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue