mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Change all alsaPlugins references to alsa-plugins
Also, refactor alsa-plugins to make it more readable.
This commit is contained in:
parent
58fc582fe8
commit
0b045a37fc
4 changed files with 14 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchurl, makeWrapper, makeDesktopItem, linkFarmFromDrvs
|
{ lib, stdenv, fetchFromGitHub, fetchurl, makeWrapper, makeDesktopItem, linkFarmFromDrvs
|
||||||
, dotnetCorePackages, dotnetPackages, cacert
|
, dotnetCorePackages, dotnetPackages, cacert
|
||||||
, ffmpeg_4, alsa-lib, SDL2, lttng-ust, numactl, alsaPlugins
|
, ffmpeg_4, alsa-lib, SDL2, lttng-ust, numactl, alsa-plugins
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
{ writeShellScriptBin, stdenv, alsaPlugins }:
|
{ stdenv
|
||||||
writeShellScriptBin "ap${if stdenv.hostPlatform.system == "i686-linux" then "32" else "64"}" ''
|
, alsa-plugins
|
||||||
ALSA_PLUGIN_DIRS=${alsaPlugins}/lib/alsa-lib "$@"
|
, 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 "$@"
|
||||||
''
|
''
|
||||||
|
|
|
@ -44,6 +44,8 @@ mapAliases ({
|
||||||
alienfx = throw "alienfx has been removed."; # added 2019-12-08
|
alienfx = throw "alienfx has been removed."; # added 2019-12-08
|
||||||
alsaLib = alsa-lib; # added 2021-06-09
|
alsaLib = alsa-lib; # added 2021-06-09
|
||||||
alsaOss = alsa-oss; # added 2021-06-10
|
alsaOss = alsa-oss; # added 2021-06-10
|
||||||
|
alsaPlugins = alsa-plugins; # added 2021-06-10
|
||||||
|
alsaPluginWrapper = alsa-plugins-wrapper; # added 2021-06-10
|
||||||
amazon-glacier-cmd-interface = throw "amazon-glacier-cmd-interface has been removed due to it being unmaintained."; # added 2020-10-30
|
amazon-glacier-cmd-interface = throw "amazon-glacier-cmd-interface has been removed due to it being unmaintained."; # added 2020-10-30
|
||||||
ammonite-repl = ammonite; # added 2017-05-02
|
ammonite-repl = ammonite; # added 2017-05-02
|
||||||
amsn = throw "amsn has been removed due to being unmaintained."; # added 2020-12-09
|
amsn = throw "amsn has been removed due to being unmaintained."; # added 2020-12-09
|
||||||
|
|
|
@ -20105,8 +20105,8 @@ in
|
||||||
alsa-firmware = callPackage ../os-specific/linux/alsa-project/alsa-firmware { };
|
alsa-firmware = callPackage ../os-specific/linux/alsa-project/alsa-firmware { };
|
||||||
alsa-lib = callPackage ../os-specific/linux/alsa-project/alsa-lib { };
|
alsa-lib = callPackage ../os-specific/linux/alsa-project/alsa-lib { };
|
||||||
alsa-oss = callPackage ../os-specific/linux/alsa-project/alsa-oss { };
|
alsa-oss = callPackage ../os-specific/linux/alsa-project/alsa-oss { };
|
||||||
alsaPlugins = callPackage ../os-specific/linux/alsa-project/alsa-plugins { };
|
alsa-plugins = callPackage ../os-specific/linux/alsa-project/alsa-plugins { };
|
||||||
alsaPluginWrapper = callPackage ../os-specific/linux/alsa-project/alsa-plugins/wrapper.nix { };
|
alsa-plugins-wrapper = callPackage ../os-specific/linux/alsa-project/alsa-plugins/wrapper.nix { };
|
||||||
alsaUtils = callPackage ../os-specific/linux/alsa-project/alsa-utils { fftw = fftwFloat; };
|
alsaUtils = callPackage ../os-specific/linux/alsa-project/alsa-utils { fftw = fftwFloat; };
|
||||||
alsaTools = callPackage ../os-specific/linux/alsa-project/alsa-tools { };
|
alsaTools = callPackage ../os-specific/linux/alsa-project/alsa-tools { };
|
||||||
alsa-ucm-conf = callPackage ../os-specific/linux/alsa-project/alsa-ucm-conf { };
|
alsa-ucm-conf = callPackage ../os-specific/linux/alsa-project/alsa-ucm-conf { };
|
||||||
|
|
Loading…
Reference in a new issue