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
|
||||
./clanModules/flake-module.nix
|
||||
./flakeModules/flake-module.nix
|
||||
./flakeModules/clan.nix
|
||||
(import ./flakeModules/clan.nix inputs.self)
|
||||
./devShell.nix
|
||||
./docs/flake-module
|
||||
./formatter.nix
|
||||
|
@ -1,16 +1,15 @@
|
||||
clan-core:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
flake-parts-lib,
|
||||
inputs,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
buildClan = import ../lib/build-clan {
|
||||
inherit lib;
|
||||
clan-core = self;
|
||||
inherit lib clan-core;
|
||||
inherit (inputs) nixpkgs;
|
||||
};
|
||||
|
||||
@ -70,4 +69,5 @@ in
|
||||
;
|
||||
};
|
||||
};
|
||||
_file = __curPos.file;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ config, ... }:
|
||||
{ self, config, ... }:
|
||||
{
|
||||
flake.flakeModules = {
|
||||
clan = ./clan.nix;
|
||||
clan = import ./clan.nix self;
|
||||
default = config.flake.flakeModules.clan;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user