treewide: use ${stdenv.shell} instead of /bin/sh where possible
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user