nixos installer tests: use -A nix-env flag to prevent out of memory

This commit is contained in:
Domen Kožar 2016-01-10 17:48:17 +01:00
parent 7dba3bafba
commit 313fa2ebc6

View file

@ -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";