1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/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

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