about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/gnome-control-center
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-08-24 23:01:40 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-08-25 00:03:25 +0200
commit87e1643accf1ba8fc407bd1ab6a6486887063428 (patch)
tree113bd8d83e23a76529bbfad8702f8482710ceaf9 /pkgs/desktops/gnome-3/core/gnome-control-center
parent040a09adbc4afea0b6c200b6e604416b082944e8 (diff)
gnome3.gnome-control-center: add grilo-plugins
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
Diffstat (limited to 'pkgs/desktops/gnome-3/core/gnome-control-center')
-rw-r--r--pkgs/desktops/gnome-3/core/gnome-control-center/default.nix2
1 files changed, 2 insertions, 0 deletions
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 399e1ffb968ff..6f137cc65d5fd 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