tor: fix torify failing because torsocks not found in PATH

This commit is contained in:
klea
2025-11-14 19:34:46 +01:00
parent 88f7a7b9f5
commit cabd25bf47
+1
View File
@@ -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