diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-12 17:28:49 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-14 20:20:57 -0300 |
commit | 058b34d2e99a08105c02e6018e1221e5fc096c7e (patch) | |
tree | 33d825e5757949100e182cfb950abbf8a197e88b /pkgs/by-name/al/alsa-plugins-wrapper | |
parent | 3ecd815c23516757701d89505863c6d76e6059ae (diff) | |
download | nixpkgs-058b34d2e99a08105c02e6018e1221e5fc096c7e.tar nixpkgs-058b34d2e99a08105c02e6018e1221e5fc096c7e.tar.gz nixpkgs-058b34d2e99a08105c02e6018e1221e5fc096c7e.tar.bz2 nixpkgs-058b34d2e99a08105c02e6018e1221e5fc096c7e.tar.lz nixpkgs-058b34d2e99a08105c02e6018e1221e5fc096c7e.tar.xz nixpkgs-058b34d2e99a08105c02e6018e1221e5fc096c7e.tar.zst nixpkgs-058b34d2e99a08105c02e6018e1221e5fc096c7e.zip |
alsa-project: migrate to by-name
Diffstat (limited to 'pkgs/by-name/al/alsa-plugins-wrapper')
-rw-r--r-- | pkgs/by-name/al/alsa-plugins-wrapper/package.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/by-name/al/alsa-plugins-wrapper/package.nix b/pkgs/by-name/al/alsa-plugins-wrapper/package.nix new file mode 100644 index 00000000000..992f4886e26 --- /dev/null +++ b/pkgs/by-name/al/alsa-plugins-wrapper/package.nix @@ -0,0 +1,10 @@ +{ stdenv +, alsa-plugins +, writeShellScriptBin +}: +let + arch = if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"; +in +writeShellScriptBin "ap${arch}" '' + ALSA_PLUGIN_DIRS=${alsa-plugins}/lib/alsa-lib "$@" +'' |