apacheKafka: Fix passthru of jre

This unbreaks the NixOS module and tests that rely on the value in order
to map the desired kafka version to a supported jre
This commit is contained in:
Sarah Brofeldt 2022-10-26 10:07:17 +02:00
parent f540aeda6f
commit 425e707bb2

View File

@ -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; };
}