pantheon.elementary-default-settings: Backport pantheon-portals.conf support

See the changes in x-d-p 1.17 for details. Pantheon's config is quite complex
compared to other DEs >_<  gnome-keyring is already added to xdg.portal.extraPortals
in its separate modules.
This commit is contained in:
Bobby Rong 2023-09-19 23:54:26 +08:00
parent fdd898f8f7
commit 9a9e44ca04
No known key found for this signature in database

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, meson
, ninja
@ -23,6 +24,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-j4K8qYwfu6/s4qnTSzwv6KRsk9f+Qr/l1bhLywKMHMU=";
};
patches = [
# Add pantheon-portals.conf
# https://github.com/elementary/default-settings/pull/293
(fetchpatch {
url = "https://github.com/elementary/default-settings/commit/8201eeb6a356e6059b505756ef7a556a6848ad3b.patch";
sha256 = "sha256-qhGj7WQTAWJTC1kouUZhBWKqyO4hQWJghEhLVl8QVUM=";
})
];
nativeBuildInputs = [
accountsservice
dbus