summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2018-09-13 17:37:57 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2018-09-13 17:45:43 +0200
commit5710ee3befcb9c707189d835bb23fb971f81dcf4 (patch)
tree8826fd0d1767110eac2c8e853c2f6e06d934f6c4
parented7b654a21c0ffd5ddb2afc3546bbe8e0146f4ba (diff)
downloadnixlib-5710ee3befcb9c707189d835bb23fb971f81dcf4.tar
nixlib-5710ee3befcb9c707189d835bb23fb971f81dcf4.tar.gz
nixlib-5710ee3befcb9c707189d835bb23fb971f81dcf4.tar.bz2
nixlib-5710ee3befcb9c707189d835bb23fb971f81dcf4.tar.lz
nixlib-5710ee3befcb9c707189d835bb23fb971f81dcf4.tar.xz
nixlib-5710ee3befcb9c707189d835bb23fb971f81dcf4.tar.zst
nixlib-5710ee3befcb9c707189d835bb23fb971f81dcf4.zip
tor-browser-bundle-bin: add gsettings-schemas
See https://github.com/NixOS/nixpkgs/issues/46587
-rw-r--r--pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
index d922de7d6a55..8cbe788f1fd9 100644
--- a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
+++ b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
@@ -44,6 +44,7 @@
 , glibcLocales
 , hicolor-icon-theme
 , shared-mime-info
+, gsettings-desktop-schemas
 
 # Whether to disable multiprocess support to work around crashing tabs
 # TODO: fix the underlying problem instead of this terrible work-around
@@ -267,6 +268,11 @@ stdenv.mkDerivation rec {
       hicolor-icon-theme
       shared-mime-info
     ]}
+    WRAPPER_XDG_DATA_DIRS+=":"${concatMapStringsSep ":" (x: "${x}/share/gsettings-schemas/${x.name}") [
+      glib
+      gsettings-desktop-schemas
+      gtk3
+    ]};
 
     # Generate wrapper
     mkdir -p $out/bin