mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
wireplumber: backport a fix for no sound in VMs
(cherry picked from commit 41c194565f)
Signed-off-by: Domen Kožar <domen@dev.si>
(cherry picked from commit a75535a641e9e97f7389e66a411cc2c5a600d4f5)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user