Apply nix#7207 _type = "flake"; #50

Merged
roberth merged 1 commit from nix-7207-_type-is-flake into master 2023-01-17 11:47:34 +00:00
Showing only changes of commit 43bfa87aa2 - Show all commits

View file

@ -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;