1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2025-03-05 16:36:56 +00:00
flake-parts/dev/default.nix

17 lines
400 B
Nix
Raw Normal View History

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