modules.clan.default: move specialArgs into common place
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
_module.args = {
|
||||
inherit clan-core;
|
||||
inherit (clan-core) clanLib;
|
||||
# TODO: This should be set via an option otherwise it is not possible to override
|
||||
inherit (clan-core.inputs) nixpkgs nix-darwin;
|
||||
};
|
||||
imports = [
|
||||
./module.nix
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user