diff --git a/src/root/common.tt b/src/root/common.tt index 60e71609..f8f61fea 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -96,8 +96,10 @@ BLOCK renderDrvInfo; .substr(11) # strip `/nix/store/` .split('-').slice(1).join("-") # strip hash part .substr(0, -4); # strip `.drv` - IF step.type == 0; action = "Build"; ELSE; action = "Substitution"; END; - IF drvname; %] ([% action %] of [% drvname %])[% END; + IF drvname != releasename; + IF step.type == 0; action = "Build"; ELSE; action = "Substitution"; END; + IF drvname; %] ([% action %] of [% drvname %])[% END; + END; END; @@ -143,7 +145,7 @@ BLOCK renderBuildListBody; [% IF !hideJobsetName %][%build.jobset.get_column("project")%]:[%build.jobset.get_column("name")%]:[% END %][%build.get_column("job")%] [% IF showStepName %] - [% INCLUDE renderDrvInfo step=build.buildsteps %] + [% INCLUDE renderDrvInfo step=build.buildsteps releasename=build.nixname %] [% END %] [% END %]