summary refs log tree commit diff
path: root/pkgs/applications/misc/freemind/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/freemind/default.nix')
-rw-r--r--pkgs/applications/misc/freemind/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/freemind/default.nix b/pkgs/applications/misc/freemind/default.nix
index eeb269e580c..5152c8aa3f7 100644
--- a/pkgs/applications/misc/freemind/default.nix
+++ b/pkgs/applications/misc/freemind/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
     sed -i 's/which/type -p/' $out/nix-support/dist/freemind.sh
 
     cat >$out/bin/freemind <<EOF
-    #! /bin/sh
+    #! ${stdenv.shell}
     JAVA_HOME=${jre} $out/nix-support/dist/freemind.sh
     EOF
     chmod +x $out/{bin/freemind,nix-support/dist/freemind.sh}