about summary refs log tree commit diff
path: root/pkgs/applications/graphics/zgrviewer/default.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2019-01-15 23:41:31 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2019-01-16 20:37:15 +0100
commitbcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 (patch)
tree26aef5b71509a26f7986e6cf9928b7687c21787d /pkgs/applications/graphics/zgrviewer/default.nix
parent3956a8421f2d78bc66ad9d3c23a3b5510bc695be (diff)
downloadnixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.gz
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.bz2
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.lz
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.xz
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.zst
nixlib-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.zip
treewide: use ${stdenv.shell} instead of /bin/sh where possible
Diffstat (limited to 'pkgs/applications/graphics/zgrviewer/default.nix')
-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 03ffa8af3706..c60d4b7b904d 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 '#!/bin/sh' > "$out/bin/zgrviewer"
+    echo '#!${stdenv.shell}' > "$out/bin/zgrviewer"
     echo "${jre}/lib/openjdk/jre/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
     chmod a+x "$out/bin/zgrviewer"
   '';