[% USE mibs=format("%.2f") %] [% BLOCK renderProductList -%]
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 < [% HTML.escape(build.nixname) %].closure.gz | nix-store --importor to download and unpack in one command:
$ curl [% c.uri_for('/closure' build.id product.productnr) %] | gunzip | nix-store --import
The package can then be found in the path [% product.path %]. 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.
URL: | [% c.uri_for('/download' build.id product.productnr product.name) %] |
---|---|
File size: | [% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB) |
SHA-1 hash: | [% product.sha1hash %] |
SHA-256 hash: | [% product.sha256hash %] |
Full path: | [% product.path %] |