about summary refs log tree commit diff
path: root/pkgs/desktops/xfce/applications
diff options
context:
space:
mode:
authorRaymond Gauthier <jraygauthier@gmail.com>2015-11-07 12:01:36 -0500
committerVladimír Čunát <vcunat@gmail.com>2015-11-07 18:21:37 +0100
commit34eb56e16b038dea5e4dff7a3729192d26bde2ca (patch)
tree21847e0484cb42db0c7b281705fefa65a441964a /pkgs/desktops/xfce/applications
parent310b7e24d24ae9eeb1c86ec8f026e1c2919195c9 (diff)
downloadnixlib-34eb56e16b038dea5e4dff7a3729192d26bde2ca.tar
nixlib-34eb56e16b038dea5e4dff7a3729192d26bde2ca.tar.gz
nixlib-34eb56e16b038dea5e4dff7a3729192d26bde2ca.tar.bz2
nixlib-34eb56e16b038dea5e4dff7a3729192d26bde2ca.tar.lz
nixlib-34eb56e16b038dea5e4dff7a3729192d26bde2ca.tar.xz
nixlib-34eb56e16b038dea5e4dff7a3729192d26bde2ca.tar.zst
nixlib-34eb56e16b038dea5e4dff7a3729192d26bde2ca.zip
mousepad: fix the `Using the 'memory' GSettings backend` issue.
Close #10867.
It means that settings couldn't be saved. The issue appeared
since upgrade to nixos 15.09 and fall as part of #4415.

Tested on nixos.
 -  No longer has a stderr when running the application.
 -  Settings are effectively saved.
Diffstat (limited to 'pkgs/desktops/xfce/applications')
-rw-r--r--pkgs/desktops/xfce/applications/mousepad.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/applications/mousepad.nix b/pkgs/desktops/xfce/applications/mousepad.nix
index 4d6ac29f53d5..26f01e253c0d 100644
--- a/pkgs/desktops/xfce/applications/mousepad.nix
+++ b/pkgs/desktops/xfce/applications/mousepad.nix
@@ -1,5 +1,6 @@
 { stdenv, fetchurl, pkgconfig, intltool, libxfce4util
-, gtk, gtksourceview, dbus, dbus_glib, makeWrapper }:
+, gtk, gtksourceview, dbus, dbus_glib, makeWrapper
+, dconf }:
 
 stdenv.mkDerivation rec {
   p_name  = "mousepad";
@@ -15,11 +16,13 @@ stdenv.mkDerivation rec {
   buildInputs =
     [ pkgconfig intltool libxfce4util
       gtk gtksourceview dbus dbus_glib makeWrapper
+      dconf
     ];
 
   preFixup = ''
     wrapProgram "$out/bin/mousepad" \
-      --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gtksourceview}/share"
+      --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gtksourceview}/share" \
+      --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
   '';
 
   meta = {