gnome-terminal: use GIO_EXTRA_MODULES in wrapper

This fixes an issue where gnome-terminal uses the memory GSettings
backend and does not persist settings across sessions.
This commit is contained in:
Spencer Janssen 2015-07-14 03:11:40 -05:00
parent b2ae45bd77
commit 2fb8194bfe

View File

@ -24,7 +24,9 @@ stdenv.mkDerivation rec {
preFixup = ''
for f in "$out/libexec/gnome-terminal-server"; do
wrapProgram "$f" --prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH"
wrapProgram "$f" \
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules"
done
'';