chore(buildClan): rename eval.nix to function-adapter.nix to make its shallows purpose more clear

This commit is contained in:
Johannes Kirschbauer
2025-04-01 14:33:55 +02:00
parent de9b42be2f
commit ffaf87b881
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
{
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