forked from clan/clan-core
flake-parts: fix clan-core reference
This commit is contained in:
parent
5ffae2070d
commit
28e8af60cf
@ -36,7 +36,7 @@
|
|||||||
./checks/flake-module.nix
|
./checks/flake-module.nix
|
||||||
./clanModules/flake-module.nix
|
./clanModules/flake-module.nix
|
||||||
./flakeModules/flake-module.nix
|
./flakeModules/flake-module.nix
|
||||||
./flakeModules/clan.nix
|
(import ./flakeModules/clan.nix inputs.self)
|
||||||
./devShell.nix
|
./devShell.nix
|
||||||
./docs/flake-module
|
./docs/flake-module
|
||||||
./formatter.nix
|
./formatter.nix
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
|
clan-core:
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
flake-parts-lib,
|
flake-parts-lib,
|
||||||
inputs,
|
inputs,
|
||||||
self,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption types;
|
inherit (lib) mkOption types;
|
||||||
buildClan = import ../lib/build-clan {
|
buildClan = import ../lib/build-clan {
|
||||||
inherit lib;
|
inherit lib clan-core;
|
||||||
clan-core = self;
|
|
||||||
inherit (inputs) nixpkgs;
|
inherit (inputs) nixpkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -70,4 +69,5 @@ in
|
|||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
_file = __curPos.file;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ config, ... }:
|
{ self, config, ... }:
|
||||||
{
|
{
|
||||||
flake.flakeModules = {
|
flake.flakeModules = {
|
||||||
clan = ./clan.nix;
|
clan = import ./clan.nix self;
|
||||||
default = config.flake.flakeModules.clan;
|
default = config.flake.flakeModules.clan;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user