gnome: Further fixes for Using the 'memory' GSettings backend issue

This commit is contained in:
Jan Tojnar
2017-07-24 06:24:11 +02:00
committed by Robin Gloster
parent 0e192d5d4f
commit c9d419a22b
26 changed files with 74 additions and 69 deletions

View File

@@ -32,9 +32,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# ToDo: one probably should specify schemas for samba and others here
preFixup = ''
wrapProgram $out/libexec/gvfsd --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
for f in $out/libexec/*; do
wrapProgram $f \
${stdenv.lib.optionalString gnomeSupport "--prefix GIO_EXTRA_MODULES : \"${stdenv.lib.getLib gnome.dconf}/lib/gio/modules\""} \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
done
'';
meta = with stdenv.lib; {