Merge pull request #11072 from svend/terminal-notifier-args

terminal-notifier: Pass arguments in wrapper script
This commit is contained in:
Charles Strahan 2015-12-23 21:29:56 -06:00
commit c5497a7608

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
cp -r terminal-notifier.app $out/Applications
cat >$out/bin/terminal-notifier <<EOF
cd $out/Applications/terminal-notifier.app
exec ./Contents/MacOS/terminal-notifier
exec ./Contents/MacOS/terminal-notifier "\$@"
EOF
chmod +x $out/bin/terminal-notifier
'';