mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
Merge pull request #109381 from lucasew/fix/zgrviewer
zgrviewer: fix java jre binary path
This commit is contained in:
commit
2416b9da70
@ -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 New Issue
Block a user