mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ed12380827
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.
5 lines
197 B
Nix
5 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 "$@"
|
|
''
|