summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-27 20:30:06 +0100
committerEelco Dolstra <edolstra@gmail.com>2018-02-27 20:30:06 +0100
commitceb0a28e8c2d3f3bd0f57dda74f185a570522ecf (patch)
treeebb5e699b94ad75be0566e7c02819f24dd7bd4ff /nixos/tests
parent9fc786c3a44cf660adaf67e3d4950ff051cb6418 (diff)
downloadnixlib-ceb0a28e8c2d3f3bd0f57dda74f185a570522ecf.tar
nixlib-ceb0a28e8c2d3f3bd0f57dda74f185a570522ecf.tar.gz
nixlib-ceb0a28e8c2d3f3bd0f57dda74f185a570522ecf.tar.bz2
nixlib-ceb0a28e8c2d3f3bd0f57dda74f185a570522ecf.tar.lz
nixlib-ceb0a28e8c2d3f3bd0f57dda74f185a570522ecf.tar.xz
nixlib-ceb0a28e8c2d3f3bd0f57dda74f185a570522ecf.tar.zst
nixlib-ceb0a28e8c2d3f3bd0f57dda74f185a570522ecf.zip
Don't try hashed mirrors in the installer test
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/installer.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 3e49c5b96682..c12919540a30 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -243,6 +243,11 @@ let
               ++ optionals (bootLoader == "grub" && grubVersion == 2) [ pkgs.grub2 pkgs.grub2_efi ];
 
             nix.binaryCaches = mkForce [ ];
+            nix.extraOptions =
+              ''
+                hashed-mirrors =
+                connect-timeout = 1
+              '';
           };
 
       };