nixos-install-tools: Add tests.nixos-tests
This commit is contained in:
parent
b5f2c5f132
commit
f432f3c4a4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue