diff options
author | Shea Levy <shea@shealevy.com> | 2022-10-23 06:54:11 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2022-10-23 06:54:11 -0400 |
commit | 334fa81d0828f79d832a029ba16e0c807ec15554 (patch) | |
tree | 45f3d083fbda8935ccb3d60ac7208f59cc9b19d3 /src/libexpr | |
parent | b3d2a05c59266688aa904d5fb326394cbb7e9e90 (diff) |
Mark flakes with .type = "flake".
Fixes #7186
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/flake/call-flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/call-flake.nix b/src/libexpr/flake/call-flake.nix index 932ac5e90..87d7a126b 100644 --- a/src/libexpr/flake/call-flake.nix +++ b/src/libexpr/flake/call-flake.nix @@ -43,7 +43,7 @@ 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; |