diff --git a/pkgs/servers/apache-kafka/default.nix b/pkgs/servers/apache-kafka/default.nix index bf51260c7fe1..cb3691460bd7 100644 --- a/pkgs/servers/apache-kafka/default.nix +++ b/pkgs/servers/apache-kafka/default.nix @@ -75,6 +75,10 @@ stdenv.mkDerivation rec { chmod +x $out/bin\/* ''; + passthru = { + inherit jre; # Used by the NixOS module to select the supported jre + }; + meta = with lib; { homepage = "https://kafka.apache.org"; description = "A high-throughput distributed messaging system"; @@ -83,5 +87,4 @@ stdenv.mkDerivation rec { maintainers = [ maintainers.ragge ]; platforms = platforms.unix; }; - passthru = { inherit jdk17_headless; }; }