[% USE mibs=format("%.2f") %] [% BLOCK renderProductList -%] [% # Work around a strange bug: build.buildproducts.size returns 3 when the actual size is 1. nrProducts = 0; FOREACH product IN build.buildproducts; nrProducts = nrProducts + 1; END %]
![]() 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: $ curl [% uri %] | gunzip | nix-store --import The build output can then be found in the path [% product.path %]. |
||||||||||||
[% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %]
![]() 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. |
||||||||||||
[% filename = "${build.nixname}.closure.gz" %]
[% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %]
![]() If you have Nix installed on your machine, this build and all its dependencies can be unpacked into your local Nix store by doing: $ gunzip < [% filename %] | nix-store --import or to download and unpack in one command: $ curl [% uri %] | gunzip | nix-store --import The package can then be found in the path [% product.path %]. You’ll probably also want to do $ nix-env -i [% product.path %] to actually install the package in your Nix user environment. If you get the error message “imported archive lacks a signature”, you should make sure that you have sufficient access rights to the Nix store, e.g., run the command as root. |
||||||||||||
[% SWITCH product.subtype %]
[% CASE "source-dist" %]
![]() ![]() ![]() ![]() ![]()
|
||||||||||||
![]() |
||||||||||||
[% IF product.type == "doc-pdf" %]
![]() ![]() |
||||||||||||
Something of type [% product.type %] |