modules.clan.default: move specialArgs into common place

This commit is contained in:
Johannes Kirschbauer
2025-06-26 17:32:51 +02:00
parent e195a77476
commit 50f6b4a095
6 changed files with 5 additions and 17 deletions

View File

@@ -2,10 +2,8 @@
## This is only a wrapper such that 'clan' can be called as a function.
{
lib,
clanLib,
clan-core,
nixpkgs,
nix-darwin,
...
}:
rec {
buildClan =
@@ -18,12 +16,8 @@ rec {
}@m:
lib.evalModules {
specialArgs = {
inherit (clan-core) clanLib;
inherit
self
clan-core
nixpkgs
nix-darwin
;
};
modules = [