mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
zgrviewer: fix java jre binary path
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
e6229b82f0
commit
ebdf3cf3cb
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
cp -r target/* "$out/share/java/zvtm/"
|
||||
|
||||
echo '#!${runtimeShell}' > "$out/bin/zgrviewer"
|
||||
echo "${jre}/lib/openjdk/jre/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
|
||||
echo "${jre}/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
|
||||
chmod a+x "$out/bin/zgrviewer"
|
||||
'';
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue