From 65ca03098acd61b63e27ee7cc2a34a6f62d794ba Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Sat, 6 Jul 2024 18:01:35 +0000 Subject: [PATCH] xdg-desktop-portal-hyprland: add patch for compilation with pipewire 1.2.0 --- .../hyprwm/xdg-desktop-portal-hyprland/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix index 609da8871566..1ade5bd2b428 100644 --- a/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix +++ b/pkgs/applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , cmake , pkg-config , wayland-scanner @@ -33,6 +34,15 @@ stdenv.mkDerivation (self: { hash = "sha256-KsX7sAwkEFpXiwyjt0HGTnnrUU58wW1jlzj5IA/LRz8="; }; + patches = [ + # TODO: remove on next upgrade + (fetchpatch { + name = "fix-compilation-pipewire-1.2.0.patch"; + url = "https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/c5b30938710d6c599f3f5cd99a3ffac35381fb0f.patch"; + hash = "sha256-f9OgW9tLuGuHXYH6bR1Y+CEuBPHOhRiHfEPebJzlwK8="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config