1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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.
This commit is contained in:
Raymond Gauthier 2015-11-07 12:01:36 -05:00 committed by Vladimír Čunát
parent 310b7e24d2
commit 34eb56e16b
2 changed files with 6 additions and 2 deletions

View file

@ -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 = {

View file

@ -6,6 +6,7 @@ callPackage = newScope (deps // xfce_self);
deps = { # xfce-global dependency overrides should be here
inherit (pkgs.gnome) libglade libwnck vte gtksourceview;
inherit (pkgs.gnome3) dconf;
inherit (pkgs.perlPackages) URI;
};