summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorLucas Eduardo <lucas59356@gmail.com>2021-01-14 16:50:34 +0000
committerGitHub <noreply@github.com>2021-01-14 16:50:34 +0000
commitebdf3cf3cbf148c66bbf829381ced61da6a9d417 (patch)
tree3dc66fda4192f038fa2691d1208b28ec40bb72c0 /pkgs/applications/graphics
parente6229b82f081ea84110af03b79e24d9d144ea32e (diff)
zgrviewer: fix java jre binary path
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/zgrviewer/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/zgrviewer/default.nix b/pkgs/applications/graphics/zgrviewer/default.nix
index db07b9e1db4e..598a94138262 100644
--- a/pkgs/applications/graphics/zgrviewer/default.nix
+++ b/pkgs/applications/graphics/zgrviewer/default.nix
@@ -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 = {