nixpkgs/pkgs/os-specific/linux/alsa-plugins/wrapper.nix

6 lines
185 B
Nix
Raw Normal View History

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