summary refs log tree commit diff
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-04-12 17:24:45 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-04-12 17:29:15 +0300
commit87b49397bf1e26ac17c4a55fed41bd836fefc39d (patch)
treef6293e124ac8dad237cb83283ad2b5e4bee929e6 /nixos/tests/installer.nix
parenta310fd4662fde6aa907d78af9e3e57b2b1510f76 (diff)
downloadnixpkgs-87b49397bf1e26ac17c4a55fed41bd836fefc39d.tar
nixpkgs-87b49397bf1e26ac17c4a55fed41bd836fefc39d.tar.gz
nixpkgs-87b49397bf1e26ac17c4a55fed41bd836fefc39d.tar.bz2
nixpkgs-87b49397bf1e26ac17c4a55fed41bd836fefc39d.tar.lz
nixpkgs-87b49397bf1e26ac17c4a55fed41bd836fefc39d.tar.xz
nixpkgs-87b49397bf1e26ac17c4a55fed41bd836fefc39d.tar.zst
nixpkgs-87b49397bf1e26ac17c4a55fed41bd836fefc39d.zip
installer tests: Use different package for testing `nix-env -iA`
Coreutils is multi-output and the `info` output doesn't seem to be
included on the install disk, failing like this (because now nix-env
wants to build coreutils):

````
machine# these derivations will be built:
machine#   /nix/store/0jk4wzg11sa6cqyw8g7w5lb35axji969-bison-3.0.4.tar.gz.drv
...
machine#   /nix/store/ybjgqwxx63l8cj1s7b8axx09wz06kxbv-coreutils-8.25.drv
machine# building path(s) ‘/nix/store/4xvdi5740vq8vlsi48lik3saz0v5jsx0-coreutils-8.25.tar.xz’
machine# downloading ‘http://ftpmirror.gnu.org/coreutils/coreutils-8.25.tar.xz’...
machine# error: unable to download ‘http://ftpmirror.gnu.org/coreutils/coreutils-8.25.tar.xz’: Couldn't resolve host name (6)
machine# builder for ‘/nix/store/5j3bc5sjr6271fnjh9gk9hrid8kgbpx3-coreutils-8.25.tar.xz.drv’ failed with exit code 1
machine# cannot build derivation ‘/nix/store/ybjgqwxx63l8cj1s7b8axx09wz06kxbv-coreutils-8.25.drv’: 1 dependencies couldn't be built
machine# error: build of ‘/nix/store/ybjgqwxx63l8cj1s7b8axx09wz06kxbv-coreutils-8.25.drv’ failed
````
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r--nixos/tests/installer.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 05c3f267eb9..48d5fecad92 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -108,8 +108,8 @@ let
       $machine->waitUntilSucceeds("cat /proc/swaps | grep -q /dev");
 
       # Check whether the channel works.
-      $machine->succeed("nix-env -iA nixos.coreutils >&2");
-      $machine->succeed("type -tP ls | tee /dev/stderr") =~ /.nix-profile/
+      $machine->succeed("nix-env -iA nixos.procps >&2");
+      $machine->succeed("type -tP ps | tee /dev/stderr") =~ /.nix-profile/
           or die "nix-env failed";
 
       # We need to a writable nix-store on next boot.