From 618b3303782fb95b650a9523185b2505e4d1093d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 26 Aug 2024 07:44:35 +0100 Subject: [PATCH] apacheKafka.tests: fix eval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the change `apacheKafka.tests` fails the eval as: $ nix build --no-link -f. apacheKafka.tests error: … while evaluating the attribute 'nixos' at pkgs/servers/apache-kafka/default.nix:65:7: 64| inherit (versionInfo) jre; # Used by the NixOS module to select the supported JRE 65| tests.nixos = versionInfo.nixosTest; | ^ 66| }; error: attribute 'nixosTest' missing at pkgs/servers/apache-kafka/default.nix:65:2 1: 64| inherit (versionInfo) jre; # Used by the NixOS module to select the supported JRE 65| tests.nixos = versionInfo.nixosTest; | ^ 66| }; --- pkgs/servers/apache-kafka/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/apache-kafka/default.nix b/pkgs/servers/apache-kafka/default.nix index e513cc143427..1e9435b8598f 100644 --- a/pkgs/servers/apache-kafka/default.nix +++ b/pkgs/servers/apache-kafka/default.nix @@ -7,6 +7,7 @@ let scalaVersion = "2.13"; sha256 = "sha256-4Cl8xv2wnvnZkFdRsl0rYpwXUo+GKbYFYe7/h84pCZw="; jre = jdk17_headless; + nixosTest = nixosTests.kafka.kafka_3_8; }; "3_7" = { kafkaVersion = "3.7.1";