mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +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:
parent
f4e8fc64ca
commit
aed1deab05
5 changed files with 8 additions and 12 deletions
|
@ -49,7 +49,7 @@ rec {
|
|||
, extraPythonPackages ? (_ : [])
|
||||
, interactive ? {}
|
||||
} @ t:
|
||||
runTest {
|
||||
(evalTest {
|
||||
imports = [
|
||||
{ _file = "makeTest parameters"; config = t; }
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ rec {
|
|||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}).config;
|
||||
|
||||
simpleTest = as: (makeTest as).test;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue