mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
12 lines
324 B
Nix
12 lines
324 B
Nix
let
|
|
flake = builtins.getFlake (toString ./.);
|
|
fmc-lib = (builtins.getFlake (toString ../.)).lib;
|
|
self = {
|
|
inherit (flake) inputs;
|
|
outPath = ../.; # used by pre-commit module, etc
|
|
} //
|
|
fmc-lib.evalFlakeModule
|
|
{ inherit self; }
|
|
./flake-module.nix;
|
|
in
|
|
self.config.flake // { inherit (flake) inputs; }
|