3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/tor
Joachim Fasting 961164a8a7
torbrowser: explicitly set paths to torrc-defaults and tor
This patch fixes an issue introduced by b897f825942b63ab790cad9ed66c8a79cbb3fc2d
where the bundled tor fails to run.

The error message claims that it cannot communicate with tor, but what actually
happens is that tor never runs at all, because it is invoked with a non-existent
rc file.  Specifying an absolute path to the torrc-defaults file fixes the
problem.  For good measure, we specify an absolute path to the tor executable
itself as well; we want as little autodetection logic as possible.

Note that users of torbrowser *must* remove the existing `~/.torbrowser4` folder
for this to take effect, otherwise torbrowser will continue to use extension
data from the previous release (this is why some existing users were able to
successfully use the new torbrowser version, see
https://github.com/NixOS/nixpkgs/pull/15854).
2016-05-31 23:37:20 +02:00
..
default.nix tor: meta improvements 2016-04-30 18:53:42 +02:00
tor-arm.nix tor-arm: build recipe improvements 2016-04-30 22:25:46 +02:00
torbrowser.nix torbrowser: explicitly set paths to torrc-defaults and tor 2016-05-31 23:37:20 +02:00
torsocks.nix nixpkgs: torsocks 2.0.0 -> 2.1.0 2015-07-20 21:50:29 -05:00