From 0a04f7a870e4a7e538387b4f8d0a79f9ebe76cb8 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 1 May 2016 21:23:03 +0200 Subject: [PATCH] torbrowser: fix paths to pluggable transports With this patch I'm at least able to connect using the obfs4 transport --- pkgs/tools/security/tor/torbrowser.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/security/tor/torbrowser.nix b/pkgs/tools/security/tor/torbrowser.nix index 11988d9435f..c8f9c3dae97 100644 --- a/pkgs/tools/security/tor/torbrowser.nix +++ b/pkgs/tools/security/tor/torbrowser.nix @@ -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;