1
0
forked from dan/liminix
liminix/lib/merge-modules.nix
2023-02-15 22:06:28 +00:00

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