diff --git a/pkgs/default.nix b/pkgs/default.nix index 2fdf617..07d6830 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -50,4 +50,17 @@ in }); cyanrip = callPackage ./cyanrip { }; + + # TODO: Remove when pavucontrol > 4.0 is released + pavucontrol = super.pavucontrol.overrideAttrs (o: o // { + patches = [ + # This fixes context menus on wayland + # Bug report: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/63 + # Merge Request: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/20 + (super.fetchpatch { + url = "https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/ae278b8643cf1089f66df18713c8154208d9a505.patch"; + sha256 = "066vhxjz6gmi2sp2n4pa1cdsxjnq6yml5js094g5n7ld34p84dpj"; + }) + ]; + }); }