alsa-project: refactor

This commit is contained in:
Anderson Torres 2023-03-18 15:43:19 -03:00
parent 532ed9ed82
commit 5a05160f76
2 changed files with 23 additions and 11 deletions

View file

@ -0,0 +1,13 @@
{ lib, pkgs }:
lib.makeScope pkgs.newScope (self: {
alsa-firmware = self.callPackage ./alsa-firmware { };
alsa-lib = self.callPackage ./alsa-lib { };
alsa-oss = self.callPackage ./alsa-oss { };
alsa-plugins = self.callPackage ./alsa-plugins { };
alsa-plugins-wrapper = self.callPackage ./alsa-plugins/wrapper.nix { };
alsa-tools = self.callPackage ./alsa-tools { };
alsa-topology-conf = self.callPackage ./alsa-topology-conf { };
alsa-ucm-conf = self.callPackage ./alsa-ucm-conf { };
alsa-utils = self.callPackage ./alsa-utils { fftw = pkgs.fftwFloat; };
})

View file

@ -25918,17 +25918,16 @@ with pkgs;
tinyalsa = callPackage ../os-specific/linux/tinyalsa { };
alsa-firmware = callPackage ../os-specific/linux/alsa-project/alsa-firmware { };
alsa-lib = callPackage ../os-specific/linux/alsa-project/alsa-lib { };
alsa-oss = callPackage ../os-specific/linux/alsa-project/alsa-oss { };
alsa-plugins = callPackage ../os-specific/linux/alsa-project/alsa-plugins { };
alsa-plugins-wrapper = callPackage ../os-specific/linux/alsa-project/alsa-plugins/wrapper.nix { };
alsa-tools = callPackage ../os-specific/linux/alsa-project/alsa-tools { };
alsa-topology-conf = callPackage ../os-specific/linux/alsa-project/alsa-topology-conf { };
alsa-ucm-conf = callPackage ../os-specific/linux/alsa-project/alsa-ucm-conf { };
alsa-utils = callPackage ../os-specific/linux/alsa-project/alsa-utils {
fftw = fftwFloat;
};
inherit (callPackage ../os-specific/linux/alsa-project { })
alsa-firmware
alsa-lib
alsa-oss
alsa-plugins
alsa-plugins-wrapper
alsa-tools
alsa-topology-conf
alsa-ucm-conf
alsa-utils;
inherit (callPackage ../misc/arm-trusted-firmware {})
buildArmTrustedFirmware