kaitai-struct-compiler: use jre instead of jdk8 (#424577)

This commit is contained in:
Yohann Boniface
2025-10-10 00:21:25 +00:00
committed by GitHub
@@ -2,7 +2,7 @@
lib,
stdenv,
fetchzip,
openjdk8,
jre,
makeWrapper,
}:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
install -D $src/bin/kaitai-struct-compiler $out/bin/kaitai-struct-compiler
ln -s $out/bin/kaitai-struct-compiler $out/bin/ksc
cp -R $src/lib $out/lib
wrapProgram $out/bin/kaitai-struct-compiler --prefix PATH : ${lib.makeBinPath [ openjdk8 ]}
wrapProgram $out/bin/kaitai-struct-compiler --prefix PATH : ${lib.makeBinPath [ jre ]}
'';
meta = with lib; {