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