summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-09-03 20:41:08 +0800
committer宋文武 <iyzsong@gmail.com>2015-09-03 20:43:42 +0800
commit7b770ecaf309cbc7282bd0f9075728a4bff2168d (patch)
treea8a017b2cfcb75fd10840a3efd9ab4e122f0a9d1
parentd11b808f4a456e6b09096742b21d58a317b73b84 (diff)
downloadguix-7b770ecaf309cbc7282bd0f9075728a4bff2168d.tar.gz
gnu: tinc: Use /etc as the sysconfdir, and /var as the localstatedir.
* gnu/packages/vpn.scm (tinc)[arguments]: New field.
-rw-r--r--gnu/packages/vpn.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 0c538daf58..4cd5cd9b11 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -169,6 +169,10 @@ traversing network address translators (NATs) and firewalls.")
                (base32
                 "08ds8s32cjslms1q227ihd6jz35583v378ij4pknfa5xngfijhrb"))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags
+       '("--sysconfdir=/etc"
+         "--localstatedir=/var")))
     (inputs `(("zlib" ,zlib)
               ("lzo" ,lzo)
               ("openssl" ,openssl)))