From 5da13930308779e91470a2dc6249005098886011 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 10 May 2020 01:55:31 +0100 Subject: [PATCH] deluge: add glib so its hook works. At the moment, runing `deluge` with the deluge package installed returns "No GSettings schemas are installed on the system". After this patch, XDG_DATA_DIRS includes the gsettings-desktop-schemas, which means the program actually manages to launch. --- pkgs/applications/networking/p2p/deluge/2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/p2p/deluge/2/default.nix b/pkgs/applications/networking/p2p/deluge/2/default.nix index 755ef4cc33b..2e9f08ce98a 100644 --- a/pkgs/applications/networking/p2p/deluge/2/default.nix +++ b/pkgs/applications/networking/p2p/deluge/2/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, intltool, libtorrentRasterbar, pythonPackages -, gtk3, gobject-introspection, librsvg, wrapGAppsHook }: +, gtk3, glib, gobject-introspection, librsvg, wrapGAppsHook }: pythonPackages.buildPythonPackage rec { pname = "deluge"; @@ -18,7 +18,7 @@ pythonPackages.buildPythonPackage rec { gtk3 gobject-introspection librsvg ]; - nativeBuildInputs = [ intltool wrapGAppsHook ]; + nativeBuildInputs = [ intltool wrapGAppsHook glib ]; checkInputs = with pythonPackages; [ pytest /* pytest-twisted */ pytestcov mock