tor-browser-bundle-bin: parameterize icon theme

This commit is contained in:
Joachim Fasting 2018-09-13 17:41:06 +02:00
parent 5710ee3bef
commit 546e511edc
No known key found for this signature in database
GPG Key ID: 5C204DF675C90294
2 changed files with 5 additions and 3 deletions

View File

@ -42,7 +42,7 @@
# Wrapper runtime
, coreutils
, glibcLocales
, hicolor-icon-theme
, defaultIconTheme
, shared-mime-info
, gsettings-desktop-schemas
@ -265,7 +265,7 @@ stdenv.mkDerivation rec {
EOF
WRAPPER_XDG_DATA_DIRS=${concatMapStringsSep ":" (x: "${x}/share") [
hicolor-icon-theme
defaultIconTheme
shared-mime-info
]}
WRAPPER_XDG_DATA_DIRS+=":"${concatMapStringsSep ":" (x: "${x}/share/gsettings-schemas/${x.name}") [

View File

@ -5587,7 +5587,9 @@ with pkgs;
tor-arm = callPackage ../tools/security/tor/tor-arm.nix { };
tor-browser-bundle-bin = callPackage ../applications/networking/browsers/tor-browser-bundle-bin { };
tor-browser-bundle-bin = callPackage ../applications/networking/browsers/tor-browser-bundle-bin {
inherit (gnome3) defaultIconTheme;
};
tor-browser-bundle = callPackage ../applications/networking/browsers/tor-browser-bundle {
stdenv = stdenvNoCC;