forked from lix-project/hydra
added help, removed nix closure from 'failed build with output' productlist
This commit is contained in:
parent
a561c09f2c
commit
e17fec61b2
|
@ -20,12 +20,25 @@
|
||||||
|
|
||||||
[% CASE "nix-build" %]
|
[% CASE "nix-build" %]
|
||||||
[% IF build.resultInfo.buildstatus == 6 %]
|
[% IF build.resultInfo.buildstatus == 6 %]
|
||||||
|
[% filename = "${build.nixname}.closure.gz" %]
|
||||||
|
[% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %]
|
||||||
<tr class="product">
|
<tr class="product">
|
||||||
<td>
|
<td>
|
||||||
<a href="[% contents %]">
|
<a href="[% contents %]">
|
||||||
<img src="/static/images/error_32.png" alt="Source" />
|
<img src="/static/images/error_32.png" alt="Source" />
|
||||||
Failed build produced output. Click here to inspect the output.
|
Failed build produced output. Click here to inspect the output.
|
||||||
</a>
|
</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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -58,7 +71,6 @@
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
|
||||||
<tr class="product">
|
<tr class="product">
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
|
@ -98,6 +110,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
[% END %]
|
||||||
|
|
||||||
[% CASE "file" %]
|
[% CASE "file" %]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue