gpick: ensure GSettings schemas are available

Running gpick on a system where GSettings schemas are not provided (e.g.
XMonad with no desktop environment), any attempt to save or export color
info from gpick will cause gpick to crash:

GLib-GIO-ERROR **: 19:12:55.095: No GSettings schemas are installed on the system

The nixpkgs manual describes how to fix such errors:
https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-common-issues-no-schemas

Adding wrapGAppsHook to the nativeBuildInputs appears to be all that was
needed to fix the issue in this case.

authored by ivanbrennan and committed by Bjørn Forsman d2042f91 700f2bc9

+13 -2
+13 -2
pkgs/tools/misc/gpick/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, glib, boost, pkg-config, gtk3, ragel, lua, lib }: 2 3 stdenv.mkDerivation rec { 4 pname = "gpick"; ··· 11 sha256 = "sha256-Z67EJRtKJZLoTUtdMttVTLkzTV2F5rKZ96vaothLiFo="; 12 }; 13 14 - nativeBuildInputs = [ cmake pkg-config ]; 15 NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 16 buildInputs = [ boost gtk3 ragel lua ]; 17
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , cmake 4 + , glib 5 + , wrapGAppsHook 6 + , boost 7 + , pkg-config 8 + , gtk3 9 + , ragel 10 + , lua 11 + , lib 12 + }: 13 14 stdenv.mkDerivation rec { 15 pname = "gpick"; ··· 22 sha256 = "sha256-Z67EJRtKJZLoTUtdMttVTLkzTV2F5rKZ96vaothLiFo="; 23 }; 24 25 + nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ]; 26 NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 27 buildInputs = [ boost gtk3 ragel lua ]; 28