nixos-install-tools: Add tests.nixos-tests

This commit is contained in:
Robert Hensing 2021-08-29 23:11:53 +02:00
parent b5f2c5f132
commit f432f3c4a4

View file

@ -7,6 +7,7 @@
# https://github.com/NixOS/nixpkgs/pull/119942
nixos-install-tools,
runCommand,
nixosTests,
}:
let
inherit (nixos {}) config;
@ -40,6 +41,7 @@ in
};
passthru.tests = {
nixos-tests = lib.recurseIntoAttrs nixosTests.installer;
nixos-install-help = runCommand "test-nixos-install-help" {
nativeBuildInputs = [
man