mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01: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.
4 lines
197 B
Nix
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 "$@"
|
|
''
|