diff --git a/src/root/product-list.tt b/src/root/product-list.tt index ba7aec5e..3630b31e 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -19,36 +19,46 @@ [% SWITCH product.type %] [% CASE "nix-build" %] - - - - [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %] - - Source - One-click install of Nix package [% build.nixname %] - - [help, contents] -
-

If you have Nix installed on your machine, you can - install this package and all its dependencies automatically - by clicking on the link above. This requires that you have - the application/nix-package MIME type associated - with the nix-install-package program in your web - browser. Alternatively, you can install it from the - command-line:

- -
$ nix-install-package --non-interactive --url [% uri %]
- -

If you get an error message “Permission denied”, you - should make sure that you have sufficient access rights to - the Nix store, e.g., run the command as root. - -

-
- - - - + [% IF build.resultInfo.buildstatus == 6 %] + + + + Source + Failed build produced output. Click here to inspect the output. + + + + + [% ELSE %] + + + [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %] + + Source + One-click install of Nix package [% build.nixname %] + + [help, contents] +
+

If you have Nix installed on your machine, you can + install this package and all its dependencies automatically + by clicking on the link above. This requires that you have + the application/nix-package MIME type associated + with the nix-install-package program in your web + browser. Alternatively, you can install it from the + command-line:

+ +
$ nix-install-package --non-interactive --url [% uri %]
+ +

If you get an error message “Permission denied”, you + should make sure that you have sufficient access rights to + the Nix store, e.g., run the command as root. + +

+
+ + + + [% END %]