about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2022-10-26 15:44:26 +0100
committerGitHub <noreply@github.com>2022-10-26 15:44:26 +0100
commit06ccee0e4eaf9ec686ef43a231f927a2e4e3ae97 (patch)
tree1aadc1b2e895012811eba5f23c22ebf238ac1752 /pkgs/servers
parent72e5ea813298f372778ecfbfa80cf92f638702f5 (diff)
parentaf484ef1c4167812bad756132e2b00ad54ae505b (diff)
Merge pull request #197865 from srhb/unbreak-kafka
Unbreak kafka
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/apache-kafka/default.nix5
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; };
 }