diff --git a/lib/default.nix b/lib/default.nix index 94a81439e..55cf1765e 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -2,6 +2,12 @@ let nixpkgs-lib = import ; lib = with lib; nixpkgs-lib // builtins // { + evalModulesConfig = modules: let + eval = evalModules { + inherit modules; + }; + in filterAttrsRecursive (name: _: !hasPrefix "_" name) eval.config; + evalSource = import ./eval-source.nix; git = import ./git.nix { inherit lib; };