From 46614bba7c164745d63ec9542f7ea7cd5cff26eb Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 12 May 2013 12:37:21 +0200 Subject: gnu: guile-reader: Install modules in the right place. * gnu/packages/guile.scm (guile-reader): Add `arguments' field. --- gnu/packages/guile.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 6622f3b191..757fa997e0 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -189,8 +189,14 @@ or 2.0." (native-inputs `(("pkgconfig" ,pkg-config) ("gperf" ,gperf))) (inputs `(("guile" ,guile))) - (synopsis "Guile-Reader, a simple framework for building readers for -GNU Guile") + (arguments `(#:configure-flags + (let ((out (assoc-ref %outputs "out"))) + ,(if (string-prefix? "2." (package-version guile)) + '(list (string-append "--with-guilemoduledir=" + out "/share/guile/site/2.0")) + '(list (string-append "--with-guilemoduledir=" + out "/share/guile/site")))))) + (synopsis "Framework for building readers for GNU Guile") (description "Guile-Reader is a simple framework for building readers for GNU Guile. -- cgit 1.4.1