diff options
author | Sarah Brofeldt <sarah@qtr.dk> | 2022-10-26 10:07:17 +0200 |
---|---|---|
committer | Sarah Brofeldt <sarah@qtr.dk> | 2022-10-26 15:41:40 +0200 |
commit | 425e707bb2112d82a96db579f4301aa28e0fc2e4 (patch) | |
tree | c587daab8afc19cdf70ce4989cc6805d57d29dbb /pkgs/servers/apache-kafka | |
parent | f540aeda6f677354f1e7144ab04352f61aaa0118 (diff) |
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
Diffstat (limited to 'pkgs/servers/apache-kafka')
-rw-r--r-- | pkgs/servers/apache-kafka/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/servers/apache-kafka/default.nix b/pkgs/servers/apache-kafka/default.nix index bf51260c7fe10..cb3691460bd7b 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; }; } |