1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-15 17:50:53 +00:00
flake-parts/dev/default.nix

14 lines
357 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-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
} //
fmc-lib.evalFlakeModule
{ inherit self; }
./flake-module.nix;
in
2022-05-17 08:28:03 +00:00
self.config.flake // { inherit (flake) inputs; }