From 87e1643accf1ba8fc407bd1ab6a6486887063428 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 24 Aug 2019 23:01:40 +0200 Subject: [PATCH] gnome3.gnome-control-center: add grilo-plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Opening a background change dialogue produces the following errors in the console: (gnome-control-center:27270): Grilo-WARNING **: 21:57:21.349: [registry] ../src/grl-registry.c:1354: Could not open directory '/nix/store/q8wdbr08617p3xqxdg8935p31fha020f-grilo-0.3.9/lib/grilo-0.3': Error opening directory “/nix/store/q8wdbr08617p3xqxdg8935p31fha020f-grilo-0.3.9/lib/grilo-0.3”: No such file or directory (gnome-control-center:27270): Grilo-WARNING **: 21:57:21.352: [registry] ../src/grl-registry.c:1461: Plugin 'grl-flickr' not available (gnome-control-center:27270): background-cc-panel-WARNING **: 21:57:21.352: Plugin “grl-flickr” not available Apparently, there are no plugins in `grilo` package – everything is in `grilo-plugins`, so we need to add `grilo-plugins` to inputs. The setup hook will make the plug-ins available through an environment variable: https://gitlab.gnome.org/GNOME/grilo/blob/grilo-0.3.9/src/grilo.c#L111-135 --- pkgs/desktops/gnome-3/core/gnome-control-center/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix b/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix index 399e1ffb968..6f137cc65d5 100644 --- a/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix +++ b/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix @@ -24,6 +24,7 @@ , gnome-settings-daemon , gnome3 , grilo +, grilo-plugins , gsettings-desktop-schemas , gsound , gtk3 @@ -100,6 +101,7 @@ stdenv.mkDerivation rec { gnome-online-accounts gnome-settings-daemon grilo + grilo-plugins # for setting wallpaper from Flickr gsettings-desktop-schemas gsound gtk3