From 13864f4ab91df8b580b4dbe77c2f24e153517cae Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Sat, 12 Jul 2025 14:42:14 +0200 Subject: [PATCH] kaitai-struct-compiler: use jre instead of jdk8 --- pkgs/by-name/ka/kaitai-struct-compiler/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ka/kaitai-struct-compiler/package.nix b/pkgs/by-name/ka/kaitai-struct-compiler/package.nix index 7dcb250f2b40..3309b05d3d75 100644 --- a/pkgs/by-name/ka/kaitai-struct-compiler/package.nix +++ b/pkgs/by-name/ka/kaitai-struct-compiler/package.nix @@ -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; {