3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/alsa-project/alsa-plugins/wrapper.nix
AndersonTorres 0b045a37fc Change all alsaPlugins references to alsa-plugins
Also, refactor alsa-plugins to make it more readable.
2021-06-10 01:36:35 -03:00

11 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 "$@"
''