summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-10-28 01:09:54 +0200
committerLudovic Courtès <ludo@gnu.org>2018-10-28 01:09:54 +0200
commitac3b4b124fa9b3c0dbbc22ac2bec157fe70ae0f9 (patch)
tree118f5ba71b4fd7f263341775878c4dceb7564570 /gnu
parentec397b312f901da59d9a2e1cffb26bf31507e61f (diff)
downloadguix-ac3b4b124fa9b3c0dbbc22ac2bec157fe70ae0f9.tar.gz
gnu: mailutils: Install modules to …/guile/site/2.2.
* gnu/packages/mail.scm (mailutils)[arguments]: Pass
"--with-guile-site-dir".
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 7d6ea741d7..c533664071 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -184,7 +184,13 @@
 
              #t)))
        ;; TODO: Add `--with-sql'.
-       #:configure-flags '("--sysconfdir=/etc")
+       #:configure-flags (list "--sysconfdir=/etc"
+
+                               ;; Add "/2.2" to the installation directory.
+                               (string-append "--with-guile-site-dir="
+                                              (assoc-ref %outputs "out")
+                                              "/share/guile/site/2.2"))
+
        #:parallel-tests? #f))
     (native-inputs
      `(("perl" ,perl)))                           ;for 'gylwrap'