git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #103570 from chkno/tor-noscript

tor-browser-bundle-bin: Fix extension path. Fixes NoScript.

commitb719eb3c9ff95f6cd63b733411afbe211dd84f5e authorJoachim F <joachifm@users.noreply.github.com> dateThu 12 Nov 2020, 23:32 (6 years ago) parentb1680e34117c0b
1 file changed+3−3
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix+3−3
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix+3−3
@@ -231,9 +231,10 @@ stdenv.mkDerivation rec {
231231
232232 # Preload extensions by moving into the runtime instead of storing under the
233233 # user's profile directory.
234− mkdir -p "$TBB_IN_STORE/browser/extensions"
234+ # See https://support.mozilla.org/en-US/kb/deploying-firefox-with-extensions
235+ mkdir -p "$TBB_IN_STORE/distribution/extensions"
235236 mv "$TBB_IN_STORE/TorBrowser/Data/Browser/profile.default/extensions/"* \
236− "$TBB_IN_STORE/browser/extensions"
237+ "$TBB_IN_STORE/distribution/extensions"
237238
238239 # Hard-code paths to geoip data files. TBB resolves the geoip files
239240 # relative to torrc-defaults_path but if we do not hard-code them
@@ -409,6 +410,5 @@ stdenv.mkDerivation rec {
409410 # the compound is "libre" in a strict sense (some components place certain
410411 # restrictions on redistribution), it's free enough for our purposes.
411412 license = licenses.free;
412− broken = true;
413413 };
414414}