diff options
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/release.nix b/nixos/release.nix index ff094cce05f..b98976c2cce 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -213,7 +213,8 @@ in rec { with lib; let testsFor = system: - mapAttrsRecursiveCond (x: !x ? test) (n: v: listToAttrs [(nameValuePair system v.test)]) + mapAttrsRecursiveCond (x: !x ? test) + (n: v: listToAttrs [(nameValuePair system (if v.makeCoverageReport or false then v.report else v.test))]) (import ./tests { inherit nixpkgs system; }); in fold recursiveUpdate {} (map testsFor systems); } |