Skip to content

Commit

Permalink
tor-browser-bundle-bin: parameterize icon theme
Browse files Browse the repository at this point in the history
  • Loading branch information
joachifm committed Sep 13, 2018
1 parent 5710ee3 commit 546e511
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# Wrapper runtime
, coreutils
, glibcLocales
, hicolor-icon-theme
, defaultIconTheme
, shared-mime-info
, gsettings-desktop-schemas

Expand Down Expand Up @@ -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}") [
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 546e511

Please sign in to comment.