summary refs log tree commit diff
path: root/pkgs/os-specific/linux/alsa-plugins/wrapper.nix
blob: 8271088a5016b590086e383e5d395c8e76ee3d5a (plain) (blame)
1
2
3
4
{ writeShellScriptBin, stdenv, alsaPlugins }:
writeShellScriptBin "ap${if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"}" ''
  ALSA_PLUGIN_DIRS=${alsaPlugins}/lib/alsa-lib "$@"
''