Merge pull request #180560 from K900/wireplumber-0.4.11-fixes

wireplumber: backport a fix for no sound in VMs
This commit is contained in:
K900 2022-07-07 21:36:39 +03:00 committed by GitHub
commit 4acc16240c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, nix-update-script
, # base build deps
meson
@ -38,6 +39,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-3NrzOsL0MekxMMXCFubEkazzSWFNsjUsX8n2ECcr7yY=";
};
patches = [
# fix sound not working in VMs
# FIXME: drop in next release
(fetchpatch {
url = "https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/c16e637c329bc9dda8544b18f5bd47a8d63ee253.patch";
sha256 = "sha256-xhhAlhOovwIjwAxXxvHRTG4GzpIPYvKQE2F4ZP1Udq8=";
})
];
nativeBuildInputs = [
meson
pkg-config