diff --git a/default.nix b/default.nix index 1ffef45..c6557f9 100644 --- a/default.nix +++ b/default.nix @@ -166,7 +166,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;