tor-browser-bundle: support passing additional extensions

This commit is contained in:
Joachim Fasting 2017-09-27 07:40:40 +02:00
parent 2651602c17
commit 931da53e50
No known key found for this signature in database
GPG Key ID: 66EAB6B14F6B6E0D

View File

@ -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 {