diff options
author | Efraim Flashner <[email protected]> | 2022-06-01 12:31:09 +0300 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2022-06-01 12:42:04 +0300 |
commit | 64c043e63a4be97f59fd1906c47973a74eedda67 (patch) | |
tree | 37b15dfb4830e4f874edca87b521b6e9cdc3c81b /gnu/packages/tor.scm | |
parent | b1f763de54dc2b8e240d0f01f7948ce76f67243e (diff) | |
parent | 75af73e1b7ac58770122d8831faa3a8158638bb0 (diff) |
Merge remote-tracking branch 'origin/master' into staging
Diffstat (limited to 'gnu/packages/tor.scm')
-rw-r--r-- | gnu/packages/tor.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index 277acf4754..4c4ccbb003 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -73,6 +73,16 @@ "--enable-zstd") #:phases #~(modify-phases %standard-phases + (add-before 'build 'adjust-torify + (lambda* (#:key inputs #:allow-other-keys) + ;; Record in 'torify' the absolute file name of 'torsocks'. + (let ((torsocks (search-input-file + inputs "/bin/torsocks"))) + (substitute* "contrib/client-tools/torify" + (("pathfind torsocks") + "true") + (("exec torsocks") + (string-append "exec " torsocks)))))) (add-before 'check 'skip-practracker ;; This is a style linter. It doesn't get to throw fatal errors. (lambda _ @@ -98,6 +108,7 @@ (list libevent libseccomp openssl + torsocks xz zlib `(,zstd "lib"))) |