nixpkgs-suyu/pkgs/os-specific/linux/alsa-plugins/wrapper.nix
Marc Weber 8398a33112 pass jackaudio to alsaPlugins also adding convinient wrapper script
svn path=/nixpkgs/trunk/; revision=17340
2009-09-21 15:55:26 +00:00

5 lines
185 B
Nix

{ writeScriptBin, stdenv, alsaPlugins }:
writeScriptBin "ap${if stdenv.system == "i686-linux" then "32" else "64"}" ''
#/bin/sh
ALSA_PLUGIN_DIRS=${alsaPlugins}/lib/alsa-lib "$@"
''