nixpkgs-suyu/pkgs/os-specific/linux/alsa-plugins/wrapper.nix
Alyssa Ross ed12380827 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.
2020-02-14 04:16:50 +01:00

4 lines
197 B
Nix

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