3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #136126 from hercules-ci/nixos-install-tools-passthru-nixos-tests

nixos-install-tools: Add tests.nixos-tests
This commit is contained in:
Robert Hensing 2021-08-31 14:39:16 +02:00 committed by GitHub
commit afdee872ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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