kaitai-struct-compiler: use jre instead of jdk8

This commit is contained in:
TomaSajt
2025-07-12 14:42:14 +02:00
parent 9c492c3233
commit 13864f4ab9
@@ -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; {