0b045a37fc
Also, refactor alsa-plugins to make it more readable.
10 lines
223 B
Nix
10 lines
223 B
Nix
{ stdenv
|
|
, alsa-plugins
|
|
, writeShellScriptBin
|
|
}:
|
|
let
|
|
arch = if stdenv.hostPlatform.system == "i686-linux" then "32" else "64";
|
|
in
|
|
writeShellScriptBin "ap${arch}" ''
|
|
ALSA_PLUGIN_DIRS=${alsa-plugins}/lib/alsa-lib "$@"
|
|
''
|