We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9dd2973 + e6aa042 commit fc02844Copy full SHA for fc02844
docs/eval-graph.nix
@@ -24,7 +24,7 @@ let
24
];
25
};
26
27
- stripStore = path: (pkgs.lib.removePrefix "/" (pkgs.lib.removePrefix "${rootPath}" path));
+ stripStore = path: (pkgs.lib.removePrefix "${rootPath}/" path);
28
29
cleanNodes =
30
node:
@@ -70,5 +70,5 @@ let
70
if matchres != null then builtins.head matchres else node.key;
71
72
in
73
-[ (stripAnon (builtins.head flattened)) ]
74
-++ (if flattened != [ ] then builtins.tail flattened else [ ])
+(if builtins.length flattened > 0 then [ (stripAnon (builtins.head flattened)) ] else [ ])
+++ (if builtins.length flattened > 1 then builtins.tail flattened else [ ])
0 commit comments