summary refs log tree commit diff
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-07-07 21:36:39 +0300
committerGitHub <noreply@github.com>2022-07-07 21:36:39 +0300
commit4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c (patch)
tree50d73f0a7497d36c996d898843ddc1321d788786
parenta8406971c3ef3438cf2511c5d59a7579f601d6b9 (diff)
parent41c194565f48e26d3efc6d1fd1857a826253128b (diff)
downloadnixpkgs-4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c.tar
nixpkgs-4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c.tar.gz
nixpkgs-4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c.tar.bz2
nixpkgs-4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c.tar.lz
nixpkgs-4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c.tar.xz
nixpkgs-4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c.tar.zst
nixpkgs-4acc16240c7f22fd335fa5eb1654cf59c4ea9e6c.zip
Merge pull request #180560 from K900/wireplumber-0.4.11-fixes
wireplumber: backport a fix for no sound in VMs
-rw-r--r--pkgs/development/libraries/pipewire/wireplumber.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/pipewire/wireplumber.nix b/pkgs/development/libraries/pipewire/wireplumber.nix
index 6600e50f25a..14b75f770a1 100644
--- a/pkgs/development/libraries/pipewire/wireplumber.nix
+++ b/pkgs/development/libraries/pipewire/wireplumber.nix
@@ -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