wireplumber: backport a fix for no sound in VMs

This commit is contained in:
K900 2022-07-07 21:07:50 +03:00
parent ebdd91b4e3
commit 41c194565f

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