added help, removed nix closure from 'failed build with output' productlist

This commit is contained in:
Rob Vermaas 2011-02-02 12:16:57 +00:00
parent a561c09f2c
commit e17fec61b2

View file

@ -20,12 +20,25 @@
[% CASE "nix-build" %]
[% IF build.resultInfo.buildstatus == 6 %]
[% filename = "${build.nixname}.closure.gz" %]
[% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %]
<tr class="product">
<td>
<a href="[% contents %]">
<img src="/static/images/error_32.png" alt="Source" />
Failed build produced output. Click here to inspect the output.
</a>
[<a class="productDetailsToggle" href="javascript:">help</a>]
<div class="help productDetails">
<p>If you have Nix installed on your machine, this failed build output and
all its dependencies can be unpacked into your local Nix store by doing:</p>
<pre>$ curl [% uri %] | gunzip | nix-store --import</pre>
<p>The build output can then be found in the path <tt>[% product.path %]</tt>.</p>
</p>
</div>
</td>
</tr>
@ -58,7 +71,6 @@
</td>
</tr>
[% END %]
<tr class="product">
<td>
@ -98,6 +110,7 @@
</td>
</tr>
[% END %]
[% CASE "file" %]