about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09 13:27:00 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09 13:38:46 +0100
commitfaf0797c0ca8b2bff1887e897e7a769007df4cc7 (patch)
tree92b36d4c3edb558d751d1bfd8fd760dbb2a8d62c /nixos/tests
parentfe28966179502e9b6418aeae03a2122a854243df (diff)
downloadnixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.gz
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.bz2
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.lz
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.xz
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.zst
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.zip
Use https://cache.nixos.org
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/installer.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 4f55f7242bff..641ff924e14e 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -29,6 +29,10 @@ let
                 pkgs.unionfs-fuse
                 pkgs.gummiboot
               ];
+
+            # Don't use https://cache.nixos.org since the fake
+            # cache.nixos.org doesn't do https.
+            nix.binaryCaches = [ http://cache.nixos.org/ ];
           }
         ];
     }).config.system.build.isoImage;
@@ -59,6 +63,8 @@ let
         ${optionalString (!readOnly) "nix.readOnlyStore = false;"}
 
         environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ];
+
+        nix.binaryCaches = [ http://cache.nixos.org/ ];
       }
     '';