kaitai-struct-compiler: use jre instead of jdk8 (#424577)
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user