summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/boot.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/tests/boot.nix b/nixos/tests/boot.nix
index 0ba8a2704e63..301d9d0f817f 100644
--- a/nixos/tests/boot.nix
+++ b/nixos/tests/boot.nix
@@ -25,6 +25,11 @@ let
           $machine->start;
           $machine->waitForUnit("multi-user.target");
           $machine->succeed("nix verify -r --no-trust /run/current-system");
+
+          # Test whether the channel got installed correctly.
+          $machine->succeed("nix-instantiate --dry-run '<nixpkgs>' -A hello");
+          $machine->succeed("nix-env --dry-run -iA nixos.procps");
+
           $machine->shutdown;
         '';
     };