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
2022-05-17 10:37:27 +02:00

12 lines
342 B
Nix

let
flake = builtins.getFlake (toString ./.);
fmc-lib = import ../lib.nix { inherit (flake.inputs.nixpkgs) 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; }