2021-06-10 05:24:32 +02:00
|
|
|
{ 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 "$@"
|
2009-09-21 17:55:26 +02:00
|
|
|
''
|