diff options
author | Lucas Eduardo <lucas59356@gmail.com> | 2021-01-14 16:50:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 16:50:34 +0000 |
commit | ebdf3cf3cbf148c66bbf829381ced61da6a9d417 (patch) | |
tree | 3dc66fda4192f038fa2691d1208b28ec40bb72c0 | |
parent | e6229b82f081ea84110af03b79e24d9d144ea32e (diff) | |
download | nixpkgs-ebdf3cf3cbf148c66bbf829381ced61da6a9d417.tar nixpkgs-ebdf3cf3cbf148c66bbf829381ced61da6a9d417.tar.gz nixpkgs-ebdf3cf3cbf148c66bbf829381ced61da6a9d417.tar.bz2 nixpkgs-ebdf3cf3cbf148c66bbf829381ced61da6a9d417.tar.lz nixpkgs-ebdf3cf3cbf148c66bbf829381ced61da6a9d417.tar.xz nixpkgs-ebdf3cf3cbf148c66bbf829381ced61da6a9d417.tar.zst nixpkgs-ebdf3cf3cbf148c66bbf829381ced61da6a9d417.zip |
zgrviewer: fix java jre binary path
Signed-off-by: GitHub <noreply@github.com>
-rw-r--r-- | pkgs/applications/graphics/zgrviewer/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/zgrviewer/default.nix b/pkgs/applications/graphics/zgrviewer/default.nix index db07b9e1db4..598a9413826 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 = { |