diff --git a/pkgs/by-name/ka/kaitai-struct-compiler/package.nix b/pkgs/by-name/ka/kaitai-struct-compiler/package.nix index 316a5d699121..c6b08dccf873 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; {