diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2017-07-24 06:24:11 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-08-05 12:21:00 +0200 |
commit | c9d419a22bc42f79acfdf766b9d5908cf12ccdbc (patch) | |
tree | 63983b99ed334e9cc462f1fffbf79d97a94ff5e9 /pkgs/development/libraries/gvfs | |
parent | 0e192d5d4f33ab06ce6f815adabf93949001220e (diff) |
gnome: Further fixes for `Using the 'memory' GSettings backend issue`
Diffstat (limited to 'pkgs/development/libraries/gvfs')
-rw-r--r-- | pkgs/development/libraries/gvfs/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gvfs/default.nix b/pkgs/development/libraries/gvfs/default.nix index f225f34c33644..11c3134e10bbc 100644 --- a/pkgs/development/libraries/gvfs/default.nix +++ b/pkgs/development/libraries/gvfs/default.nix @@ -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; { |