2022-05-13 08:10:42 +00:00
|
|
|
let
|
|
|
|
flake = builtins.getFlake (toString ./.);
|
2022-10-30 10:50:15 +00:00
|
|
|
fmc-lib = (builtins.getFlake (toString ../.)).lib;
|
2022-12-17 17:36:15 +00:00
|
|
|
args = {
|
|
|
|
inherit self;
|
|
|
|
} // flake.inputs;
|
2022-05-17 08:18:59 +00:00
|
|
|
self = {
|
|
|
|
inherit (flake) inputs;
|
|
|
|
outPath = ../.; # used by pre-commit module, etc
|
2022-11-11 07:00:22 +00:00
|
|
|
outputs = self.config.flake;
|
2022-05-17 08:18:59 +00:00
|
|
|
} //
|
2022-12-17 17:36:15 +00:00
|
|
|
fmc-lib.mkFlake
|
|
|
|
{ inputs = args; }
|
2022-05-17 08:18:59 +00:00
|
|
|
./flake-module.nix;
|
2022-05-13 08:10:42 +00:00
|
|
|
in
|
2022-05-17 08:28:03 +00:00
|
|
|
self.config.flake // { inherit (flake) inputs; }
|