mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
21 lines
364 B
Nix
21 lines
364 B
Nix
{ lib }:
|
|
let
|
|
inherit (lib)
|
|
mkOption
|
|
types
|
|
;
|
|
|
|
flake-modules-core-lib = {
|
|
evalFlakeModule =
|
|
{ self
|
|
, specialArgs ? { }
|
|
}:
|
|
module:
|
|
|
|
lib.evalModules {
|
|
specialArgs = { inherit self flake-modules-core-lib; } // specialArgs;
|
|
modules = [ ./all-modules.nix module ];
|
|
};
|
|
};
|
|
in
|
|
flake-modules-core-lib
|