apacheKafka.tests: fix eval

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|     };
This commit is contained in:
Sergei Trofimovich 2024-08-26 07:44:35 +01:00
parent 0e488ca00f
commit 618b330378

View File

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