Files
clan-core/lib/build-clan/eval.nix
2025-02-03 12:00:47 +01:00

22 lines
337 B
Nix

{
lib,
nixpkgs,
clan-core,
self,
specialArgs ? { },
}:
# Returns a function that takes self, which should point to the directory of the flake
module:
(lib.evalModules {
specialArgs = {
inherit self clan-core nixpkgs;
};
modules = [
./interface.nix
module
{
inherit specialArgs;
}
];
}).config