torbrowser: fix paths to pluggable transports

With this patch I'm at least able to connect using the obfs4 transport
This commit is contained in:
Joachim Fasting 2016-05-01 21:23:03 +02:00
parent 1249a4d750
commit 0a04f7a870
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
patchPhase = ''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" Browser/firefox
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" Browser/TorBrowser/Tor/tor
sed -e "s,./TorBrowser,$out/share/tor-browser/Browser/TorBrowser,g" -i Browser/TorBrowser/Data/Tor/torrc-defaults
'';
doCheck = true;