diff --git a/pkgs/development/compilers/openjdk/jre.nix b/pkgs/development/compilers/openjdk/jre.nix index 02f6da928cdd..da3bd16bcb54 100644 --- a/pkgs/development/compilers/openjdk/jre.nix +++ b/pkgs/development/compilers/openjdk/jre.nix @@ -30,10 +30,10 @@ let passthru = { home = "${jre}"; - tests = [ - (callPackage ./tests/test_jre_minimal.nix {}) - (callPackage ./tests/test_jre_minimal_with_logging.nix {}) - ]; + tests = { + jre_minimal-hello = callPackage ./tests/test_jre_minimal.nix {}; + jre_minimal-hello-logging = callPackage ./tests/test_jre_minimal_with_logging.nix {}; + }; }; }; in jre