diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-02-26 13:35:43 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-02-26 14:28:18 +0100 |
commit | 9adfe4a6ac8173d3e08348e96733f8dc6d096713 (patch) | |
tree | 3eb9ad1397b60a426d6f1ee67283b293e8859511 /pkgs/development/libraries/accountsservice | |
parent | 7614caf32979bda5133735504c819bd58f244e7b (diff) |
accountsservice: Fix setting profile picture in GNOME Settings
GNOME Settings places the picture to /tmp for AccountsService to use.
But accounts-daemon.service has PrivateTmp enabled so it cannot access it.
Let’s apply upstream patch to remove this hardening until a proper solution is implemented.
Diffstat (limited to 'pkgs/development/libraries/accountsservice')
-rw-r--r-- | pkgs/development/libraries/accountsservice/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/libraries/accountsservice/default.nix b/pkgs/development/libraries/accountsservice/default.nix index a019a25d1860..1887060aadb3 100644 --- a/pkgs/development/libraries/accountsservice/default.nix +++ b/pkgs/development/libraries/accountsservice/default.nix @@ -45,6 +45,15 @@ stdenv.mkDerivation rec { # Do not ignore third-party (e.g Pantheon) extensions not matching FHS path scheme. # Fixes https://github.com/NixOS/nixpkgs/issues/72396 ./drop-prefix-check-extensions.patch + + # Work around not being able to set profile picture in GNOME Settings. + # https://github.com/NixOS/nixpkgs/issues/85357 + # https://gitlab.freedesktop.org/accountsservice/accountsservice/-/issues/98 + # https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1629 + (fetchpatch { + url = "https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/1ef3add46983af875adfed5d29954cbfb184f688.patch"; + sha256 = "N4siK4SWkwYBnFa0JJUFgahi9XBkB/nS5yc+PyH3/iM="; + }) ]; nativeBuildInputs = [ |