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