about summary refs log tree commit diff
path: root/tools/nixery/static/index.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-24T17·53+0000
committerVincent Ambo <tazjin@google.com>2019-07-24T17·53+0000
commit6dd0ac3189559fa4934fabe3bf56850f4865e77f (patch)
tree450011c98b80519541daf733bcde12671811e4fb /tools/nixery/static/index.html
parent948f308025e5d1a3a4575b41d4b20d97f363c5c2 (diff)
feat(nix): Import nixpkgs from a configured Nix channel
Instead of using whatever the current system default is, import a Nix
channel when building an image.

This will use Nix' internal caching behaviour for tarballs fetched
without a SHA-hash.

For now the downloaded channel is pinned to nixos-19.03.
Diffstat (limited to 'tools/nixery/static/index.html')
-rw-r--r--tools/nixery/static/index.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/nixery/static/index.html b/tools/nixery/static/index.html
index ebec9968c0c9..908fb3821a69 100644
--- a/tools/nixery/static/index.html
+++ b/tools/nixery/static/index.html
@@ -75,10 +75,15 @@
       <li>
         <strong>Which revision of <code>nixpkgs</code> is used?</strong>
         <br>
-        Currently whatever was <code>HEAD</code> at the time I deployed this. One idea I've had is
-        to let users specify tags on images that correspond to commits in nixpkgs, however there is
-        some potential for abuse there (e.g. by triggering lots of builds on commits that have
-        broken Hydra builds) and I don't want to deal with that yet.
+        Nixery imports a Nix channel
+        via <code>builtins.fetchTarball</code>. Currently the channel
+        to which this instance is pinned is NixOS 19.03.
+        <br>
+        One idea I've had is to let users specify tags on images that
+        correspond to commits in nixpkgs, however there is some
+        potential for abuse there (e.g. by triggering lots of builds
+        on commits that have broken Hydra builds) and I don't want to
+        deal with that yet.
       </li>
       <li>
         <strong>Who made this?</strong>