diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/installer.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/installer.nix b/tests/installer.nix index 73cf6312f59..b64a24c1e3f 100644 --- a/tests/installer.nix +++ b/tests/installer.nix @@ -131,7 +131,7 @@ let # Test nix-env. $machine->mustFail("hello"); - $machine->mustSucceed("nix-env -f /etc/nixos/nixpkgs -i hello"); + $machine->mustSucceed("nix-env -i hello"); $machine->mustSucceed("hello") =~ /Hello, world/ or die "bad `hello' output"; ''} @@ -175,7 +175,7 @@ let # !!! Idem. $machine->waitUntilSucceeds("cat /proc/swaps | grep -q /dev"); - $machine->mustSucceed("nix-env -f /etc/nixos/nixpkgs -i coreutils >&2"); + $machine->mustSucceed("nix-env -i coreutils >&2"); $machine->mustSucceed("type -tP ls | tee /dev/stderr") =~ /.nix-profile/ or die "nix-env failed"; |