anchor.diff:        $bundleData/$bundlePlatform/Data/Browser/profile.default/preferences/extension-overrides.js \
         >> defaults/pref/extension-overrides.js
   
  +    # Hard-code path to TBB fonts; xref: FONTCONFIG_FILE in the wrapper below
  +    sed $bundleData/$bundlePlatform/Data/fontconfig/fonts.conf \
  +        -e "s,<dir>fonts</dir>,<dir>${fontsDir}</dir>," \
  +        > $TBDATA_PATH/fonts.conf
  +
       # Generate a suitable wrapper
       wrapper_PATH=${lib.makeBinPath [ coreutils ]}
       wrapper_XDG_DATA_DIRS=${lib.concatMapStringsSep ":" (x: "${x}/share") [
  
positive.code:     name = "tor-browser-extensions";
      paths = with firefoxExtensions; [ https-everywhere noscript torbutton tor-launcher ];
    };
  in
  stdenv.mkDerivation rec {
    name = "tor-browser-bundle-${version}";
  
negative.code: , coreutils
  , hicolor_icon_theme
  , shared_mime_info
  , noto-fonts
  , noto-fonts-emoji
  
  # Extensions, common
  , unzip
  , zip
  