···339340 passthru.execdir = "/bin";
341 meta = with stdenv.lib; {
342- description = "An unofficial version of the tor browser bundle, built from source";
0000000000000000000000343 homepage = https://torproject.org/;
344 license = licenses.free;
345 platforms = [ "x86_64-linux" ];
···339340 passthru.execdir = "/bin";
341 meta = with stdenv.lib; {
342+ description = "An unofficial version of the Tor Browser Bundle, built from source";
343+ longDescription = ''
344+ Tor Browser Bundle is a bundle of the Tor daemon, Tor Browser (heavily patched version of
345+ Firefox), several essential extensions for Tor Browser, and some tools that glue those
346+ together with a convenient UI.
347+348+ `tor-browser-bundle-bin` package is the official version built by torproject.org patched with
349+ `patchelf` to work under nix and with bundled scripts adapted to the read-only nature of
350+ the `/nix/store`.
351+352+ `tor-browser-bundle` package is the version built completely from source. It reuses the `tor`
353+ package for the tor daemon, `firefoxPackages.tor-browser` package for the tor-browser, and
354+ builds all the extensions from source.
355+356+ Note that `tor-browser-bundle` package is not only built from source, but also bundles Tor
357+ Browser differently from the official `tor-browser-bundle-bin` implementation. The official
358+ Tor Browser is not a normal UNIX program and is heavily patched for its use in the Tor Browser
359+ Bundle (which `tor-browser-bundle-bin` package then has to work around for the read-only
360+ /nix/store). Meanwhile, `firefoxPackages.tor-browser` reverts all those patches, allowing
361+ `firefoxPackages.tor-browser` to be used independently of the bundle, and then implements what
362+ `tor-browser-bundle` needs for the bundling using a much simpler patch. See the
363+ longDescription and expression of the `firefoxPackages.tor-browser` package for more info.
364+ '';
365 homepage = https://torproject.org/;
366 license = licenses.free;
367 platforms = [ "x86_64-linux" ];