From 931da53e50401ef41f14911bc3af6f8287cfe7de Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Wed, 27 Sep 2017 07:40:40 +0200 Subject: [PATCH] tor-browser-bundle: support passing additional extensions --- .../networking/browsers/tor-browser-bundle/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix b/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix index 7896270b604a..16182c8e4e71 100644 --- a/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix +++ b/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix @@ -26,6 +26,7 @@ # Customization , extraPrefs ? "" +, extraExtensions ? [ ] }: let @@ -42,7 +43,12 @@ let extensionsEnv = symlinkJoin { name = "tor-browser-extensions"; - paths = with firefoxExtensions; [ https-everywhere noscript torbutton tor-launcher ]; + paths = with firefoxExtensions; [ + https-everywhere + noscript + torbutton + tor-launcher + ] ++ extraExtensions; }; fontsEnv = symlinkJoin {