1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00
flake-parts/dev/default.nix

17 lines
400 B
Nix
Raw Normal View History

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
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;
in
2022-05-17 08:28:03 +00:00
self.config.flake // { inherit (flake) inputs; }