git.iko.soy/typeable/nixpkgs
on master help sign in
tor-browser-bundle-bin: Fix extension path. Fixes NoScript.
commit4117c0b7dfed3b4ada58a00bf2bd8b61357c65d4 authorChuck <chuck@intelligence.org> dateWed 11 Nov 2020, 23:47 (6 years ago) parentb839d4a
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}