0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/testing: Fix release.nix tests evaluation

Fixes the problem introduced by 12b3066aae
which caused nixos/release.nix to return the wrong attributes, while
intending to only affect nixos/lib's runTest.
This also removes callTest from the test options, because callTest is
only ever invoked by all-tests.nix.
This commit is contained in:
Robert Hensing 2022-09-29 10:32:31 +02:00
parent f4e8fc64ca
commit aed1deab05
5 changed files with 8 additions and 12 deletions

View file

@ -4,13 +4,9 @@ let
in
{
options = {
callTest = mkOption {
internal = true;
type = types.functionTo types.raw;
};
result = mkOption {
internal = true;
default = config.test;
default = config;
};
};
}