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