mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
6 lines
206 B
Nix
6 lines
206 B
Nix
{ writeScriptBin, stdenv, alsaPlugins }:
|
|
writeScriptBin "ap${if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"}" ''
|
|
#${stdenv.shell}
|
|
ALSA_PLUGIN_DIRS=${alsaPlugins}/lib/alsa-lib "$@"
|
|
''
|