From cabd25bf477e149b557fb966b5b85a3ddfb62339 Mon Sep 17 00:00:00 2001 From: klea Date: Fri, 14 Nov 2025 19:34:46 +0100 Subject: [PATCH] tor: fix torify failing because torsocks not found in PATH --- pkgs/by-name/to/tor/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/to/tor/package.nix b/pkgs/by-name/to/tor/package.nix index 9031a313f8ae..ab5d0e8b7bd9 100644 --- a/pkgs/by-name/to/tor/package.nix +++ b/pkgs/by-name/to/tor/package.nix @@ -89,6 +89,7 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' substituteInPlace contrib/client-tools/torify \ + --replace-fail 'command -v torsocks' 'true' \ --replace-fail 'exec torsocks' 'exec ${torsocks}/bin/torsocks' patchShebangs ./scripts/maint/checkShellScripts.sh