From 313fa2ebc69aa9b49055c6242ae6d4b78e9f0467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Sun, 10 Jan 2016 17:48:17 +0100 Subject: [PATCH] nixos installer tests: use -A nix-env flag to prevent out of memory --- nixos/tests/installer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";