Unverified Commit 9ae962b3 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

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

parents 3794080d 13864f4a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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; {