From c1336ddd8c809ca2da4e4e79c6f9614c99688636 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 14 Jan 2022 19:14:51 +0300 Subject: [PATCH] wireplumber: backport default device selection fix from master --- pkgs/development/libraries/pipewire/wireplumber.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/libraries/pipewire/wireplumber.nix b/pkgs/development/libraries/pipewire/wireplumber.nix index 14957478fee4..dc14a4b8017d 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-yp4xtp+s+h+43LGVtYonoJ2tQaLRfwyMY4fp8z1l0CM="; }; + patches = [ + # backport a fix for default device selection + # FIXME remove this after 0.4.8 + (fetchpatch { + url = "https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/211f1e6b6cd4898121e4c2b821fae4dea6cc3317.patch"; + sha256 = "sha256-EGcbJ8Rq/5ft6SV0VC+mTkhVE7Ycze4TL6AVc9KH7+M="; + }) + ]; + nativeBuildInputs = [ meson pkg-config