From c9e61619e216313b49944cc3ec81f7bd70da049c Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 22 Sep 2023 23:17:46 +0800 Subject: xfce.xfce4-session: Backport xfce-portals.conf support See the changes in x-d-p 1.17 for details. --- pkgs/desktops/xfce/core/xfce4-session/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pkgs/desktops') diff --git a/pkgs/desktops/xfce/core/xfce4-session/default.nix b/pkgs/desktops/xfce/core/xfce4-session/default.nix index 2db20a2ee5166..73ce969d05f7a 100644 --- a/pkgs/desktops/xfce/core/xfce4-session/default.nix +++ b/pkgs/desktops/xfce/core/xfce4-session/default.nix @@ -1,5 +1,6 @@ { lib , mkXfceDerivation +, fetchpatch , polkit , exo , libxfce4util @@ -19,6 +20,15 @@ mkXfceDerivation { sha256 = "sha256-qCkE3aVYVwphoO1ZAyzpL1ZtsLaP6XT1H1rlFoBI3yg="; + patches = [ + # Add minimal xdg-desktop-portal conf file + # https://gitlab.xfce.org/xfce/xfce4-session/-/issues/181 + (fetchpatch { + url = "https://gitlab.xfce.org/xfce/xfce4-session/-/commit/6451c8b21085631d8861e07ff4e1b2ef64a64ad3.patch"; + sha256 = "sha256-t3opom0iv7QsKoivzk+nXbxI5uFhNmB8/Qwb4QHvcCQ="; + }) + ]; + buildInputs = [ exo gtk3 -- cgit 1.4.1