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

View file

@ -166,7 +166,8 @@ let
outputs = flake.outputs (inputs // { self = result; }); 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 in
if node.flake or true then if node.flake or true then
assert builtins.isFunction flake.outputs; assert builtins.isFunction flake.outputs;