forked from dan/liminix
1
0
Fork 0
liminix/merge-modules.nix

9 lines
195 B
Nix

modules : pkgs :
let evalModules = (import <nixpkgs/lib>).evalModules;
in (evalModules {
modules =
[
{ _module.args = { inherit pkgs; lib = pkgs.lib; }; }
] ++ modules;
}).config