diff options
-rw-r--r-- | gnu/packages/tor.scm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index f710c8297a..3fb84cd4fc 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -339,15 +339,11 @@ OnionShare.") (display line out) (loop)))))))))) (replace 'check - (lambda _ + (lambda* (#:key inputs outputs #:allow-other-keys) ;; Some tests need a writable homedir: (setenv "HOME" "/tmp") ;; Ensure installed modules can be found: - (setenv "PYTHONPATH" - (string-append %output "/lib/python" - ,(version-major+minor (package-version python)) - "/site-packages:" - (getenv "PYTHONPATH"))) + (add-installed-pythonpath inputs outputs) ;; Avoid `getprotobyname` issues: (setenv "EVENTLET_NO_GREENDNS" "yes") ;; Make Qt render "offscreen": |