alsaPluginWrapper: fix shebang

The bang was missing!  But there's a neater way to do this anyway.
What was there before would still have worked, but I think it would
end up being executed by /bin/sh since it had no shebang line.
This commit is contained in:
Alyssa Ross 2020-02-14 01:59:38 +00:00 committed by Matthieu Coudron
parent 0565f10b24
commit ed12380827

View file

@ -1,5 +1,4 @@
{ writeScriptBin, stdenv, alsaPlugins }:
writeScriptBin "ap${if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"}" ''
#${stdenv.shell}
{ writeShellScriptBin, stdenv, alsaPlugins }:
writeShellScriptBin "ap${if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"}" ''
ALSA_PLUGIN_DIRS=${alsaPlugins}/lib/alsa-lib "$@"
''