From 443dc395c5e0670c4e628cd5e2f395ed42cd5015 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 9 Apr 2017 10:00:12 +0200 Subject: [PATCH] gnome3.gnome_settings_daemon: use wrapGAppsHook This fixes the "Using the 'memory' GSettings backend." error if gnome-settings-daemon is used separately from gnome. --- .../3.22/core/gnome-settings-daemon/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/desktops/gnome-3/3.22/core/gnome-settings-daemon/default.nix b/pkgs/desktops/gnome-3/3.22/core/gnome-settings-daemon/default.nix index 00999353c2fb..ff5670935bd9 100644 --- a/pkgs/desktops/gnome-3/3.22/core/gnome-settings-daemon/default.nix +++ b/pkgs/desktops/gnome-3/3.22/core/gnome-settings-daemon/default.nix @@ -1,7 +1,7 @@ { fetchurl, stdenv, pkgconfig, gnome3, intltool, glib, libnotify, lcms2, libXtst , libxkbfile, libpulseaudio, libcanberra_gtk3, upower, colord, libgweather, polkit , geoclue2, librsvg, xf86_input_wacom, udev, libgudev, libwacom, libxslt, libtool, networkmanager -, docbook_xsl, docbook_xsl_ns, makeWrapper, ibus, xkeyboard_config }: +, docbook_xsl, docbook_xsl_ns, wrapGAppsHook, ibus, xkeyboard_config }: stdenv.mkDerivation rec { inherit (import ./src.nix fetchurl) name src; @@ -14,15 +14,7 @@ stdenv.mkDerivation rec { libnotify gnome_desktop lcms2 libXtst libxkbfile libpulseaudio libcanberra_gtk3 upower colord libgweather xkeyboard_config polkit geocode_glib geoclue2 librsvg xf86_input_wacom udev libgudev libwacom libxslt - libtool docbook_xsl docbook_xsl_ns makeWrapper gnome_themes_standard ]; - - # FIXME: glib binaries shouldn't be in .dev! - preFixup = '' - wrapProgram "$out/libexec/gnome-settings-daemon-localeexec" \ - --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \ - --prefix PATH : "${glib.dev}/bin" \ - --prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" - ''; + libtool docbook_xsl docbook_xsl_ns wrapGAppsHook gnome_themes_standard ]; meta = with stdenv.lib; { platforms = platforms.linux;