summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2014-10-26 22:11:24 +0300
committerAlex Kost <alezost@gmail.com>2014-10-27 09:56:58 +0300
commitb94ae0b89e00f3bfb51d0e5f087366e78e1d9742 (patch)
tree91a741ae1dbe33af055a6a3d72a070c6ea216b7c
parentfa35dafe9a8ee5a57571056bbaede90b61ef2222 (diff)
downloadguix-b94ae0b89e00f3bfb51d0e5f087366e78e1d9742.tar.gz
gnu: gnutls: Fix path to a guile site directory.
Suggested by Ludovic Courtès.

* gnu/packages/gnutls.scm (gnutls): Add '--with-guile-site-dir' configure
  flag.
-rw-r--r--gnu/packages/gnutls.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/gnutls.scm b/gnu/packages/gnutls.scm
index 166058841f..7e9b85e440 100644
--- a/gnu/packages/gnutls.scm
+++ b/gnu/packages/gnutls.scm
@@ -77,6 +77,11 @@ specifications.")
                "1krx33ab2ijwfz71f1ba8labxfsic7jhlhv6rvjsyw566jj9a3d2"))
              (patches (list (search-patch "gnutls-server-name-fix.patch")))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags
+       (list (string-append "--with-guile-site-dir="
+                            (assoc-ref %outputs "out")
+                            "/share/guile/site/2.0"))))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs