1
0
Fork 0
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:
Robert Hensing 2021-12-20 20:29:59 +01:00
parent 40b518d336
commit 0937f9c060

View file

@ -8,10 +8,12 @@
}@args: }@args:
let let
inputsModule = { argsModule = {
_file = ./eval-config.nix; _file = ./eval-config.nix;
config = { config = {
_module.args.inputs = inputs; _module.args = {
inherit baseModules inputs modules;
};
}; };
}; };
@ -33,8 +35,7 @@ let
}); });
eval = libExtended.evalModules (builtins.removeAttrs args [ "inputs" "system" ] // { eval = libExtended.evalModules (builtins.removeAttrs args [ "inputs" "system" ] // {
modules = modules ++ [ inputsModule pkgsModule ] ++ baseModules; modules = modules ++ [ argsModule pkgsModule ] ++ baseModules;
args = { inherit baseModules modules; };
specialArgs = { modulesPath = builtins.toString ./modules; } // specialArgs; specialArgs = { modulesPath = builtins.toString ./modules; } // specialArgs;
}); });