summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-18 17:22:29 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-19 23:35:41 +0200
commitae5c6fca26ff12179038a476eba3251f4a665cfe (patch)
tree801b7ee4ec94b6e6cb01ff00369dd75f0aa4612d
parent2c14c6d7cb51409bb2dff923cda3ac197bede5c6 (diff)
downloadpatches-ae5c6fca26ff12179038a476eba3251f4a665cfe.tar
patches-ae5c6fca26ff12179038a476eba3251f4a665cfe.tar.gz
gnu: privoxy: Use etc/privoxy as the sysconfdir.
Reported by "d00000" on #guix. * gnu/packages/tor.scm (privoxy)[arguments]: Add #:configure-flags.
-rw-r--r--gnu/packages/tor.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 2b00197a03..e0b1b542c9 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -94,7 +94,12 @@ rejects UDP traffic from the application you're using.")
"1f6xb7aa47p90c26vqaw74y6drs9gpnhxsgby3mx0awdjh0ydisy"))))
(build-system gnu-build-system)
(arguments
- '(#:phases (alist-cons-before
+ '(;; The default 'sysconfdir' is $out/etc; change that to
+ ;; $out/etc/privoxy.
+ #:configure-flags (list (string-append "--sysconfdir="
+ (assoc-ref %outputs "out")
+ "/etc/privoxy"))
+ #:phases (alist-cons-before
'configure 'autoconf
(lambda _
;; Unfortunately, this is not a tarball produced by