Merge pull request #272991 from Sporesirius/alsa-ucm-conf-splitpcm-device-argument-fix

alsa-ucm-conf: apply patch to fix SplitPCM: Device argument may not b…
This commit is contained in:
a-n-n-a-l-e-e 2024-01-23 13:54:24 -08:00 committed by GitHub
commit f7e667cb89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
pname = "alsa-ucm-conf";
@ -9,6 +9,16 @@ stdenv.mkDerivation rec {
hash = "sha256-nCHj8B/wC6p1jfF+hnzTbiTrtBpr7ElzfpkQXhbyrpc=";
};
patches = [
(fetchpatch {
# ToDo: Remove this patch in the next package upgrade
# Fixes SplitPCM to make some audio devices work with alsa-ucm-conf v1.2.10 again
name = "alsa-ucm-conf-splitpcm-device-argument-fix.patch";
url = "https://github.com/alsa-project/alsa-ucm-conf/commit/b68aa52acdd2763fedad5eec0f435fbf43e5ccc6.patch";
hash = "sha256-8WE4+uhi4W7cCSZYmL7uFpcHJ9muX09UkGXyZIpEd9I=";
})
];
dontBuild = true;
installPhase = ''