diff --git a/default.nix b/default.nix index 3fef1dd..f4f81dc 100644 --- a/default.nix +++ b/default.nix @@ -167,7 +167,8 @@ let outputs = flake.outputs (inputs // { self = result; }); - result = outputs // sourceInfo // { inherit inputs; inherit outputs; inherit sourceInfo; }; + result = outputs // sourceInfo // { inherit inputs; inherit outputs; inherit sourceInfo; _type = "flake"; }; + in if node.flake or true then assert builtins.isFunction flake.outputs;