summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2016-01-10 17:48:17 +0100
committerDomen Kožar <domen@dev.si>2016-01-10 17:48:35 +0100
commit313fa2ebc69aa9b49055c6242ae6d4b78e9f0467 (patch)
tree454c0a5d7bf7fb9e7da2ce0ca0a5114a801a8f4a /nixos
parent7dba3bafba219ec6dc2c3a1b44f9d574837b5fe5 (diff)
downloadnixpkgs-313fa2ebc69aa9b49055c6242ae6d4b78e9f0467.tar
nixpkgs-313fa2ebc69aa9b49055c6242ae6d4b78e9f0467.tar.gz
nixpkgs-313fa2ebc69aa9b49055c6242ae6d4b78e9f0467.tar.bz2
nixpkgs-313fa2ebc69aa9b49055c6242ae6d4b78e9f0467.tar.lz
nixpkgs-313fa2ebc69aa9b49055c6242ae6d4b78e9f0467.tar.xz
nixpkgs-313fa2ebc69aa9b49055c6242ae6d4b78e9f0467.tar.zst
nixpkgs-313fa2ebc69aa9b49055c6242ae6d4b78e9f0467.zip
nixos installer tests: use -A nix-env flag to prevent out of memory
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/installer.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index c59b97a66e4..d71ab23c71b 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -108,7 +108,7 @@ let
       $machine->waitUntilSucceeds("cat /proc/swaps | grep -q /dev");
 
       # Check whether the channel works.
-      $machine->succeed("nix-env -i coreutils >&2");
+      $machine->succeed("nix-env -iA coreutils >&2");
       $machine->succeed("type -tP ls | tee /dev/stderr") =~ /.nix-profile/
           or die "nix-env failed";