cassandra: add riscv64 support

This commit is contained in:
liberodark
2026-09-29 22:41:58 +02:00
parent 4f2108965f
commit 1b7ba67752

View File

@@ -7096,7 +7096,8 @@ with pkgs;
cassandra_4 = callPackage ../servers/nosql/cassandra/4.nix {
# Effective Cassandra 4.0.2 there is full Java 11 support
# -- https://cassandra.apache.org/doc/latest/cassandra/new/java11.html
jre = pkgs.jdk11_headless;
# JDK 11 has no riscv64 port.
jre = if stdenv.hostPlatform.isRiscV64 then pkgs.jdk17_headless else pkgs.jdk11_headless;
};
cassandra = cassandra_4;