guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/09: gnu: chez-scheme: Install libraries to 'lib/csvX.Y.Z-site'


From: guix-commits
Subject: 04/09: gnu: chez-scheme: Install libraries to 'lib/csvX.Y.Z-site'
Date: Wed, 2 Sep 2020 11:19:26 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 95e6468a841d77d8c766f8e331eb66115eaf1550
Author: Martin Becze <mjbecze@riseup.net>
AuthorDate: Thu Aug 20 12:39:50 2020 -0500

    gnu: chez-scheme: Install libraries to 'lib/csvX.Y.Z-site'
    
    * gnu/packages/chez.scm (chez-make-flags): Add 'chezversion'.
    
    Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/chez.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index da0b17e..df9d68a 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -416,9 +416,13 @@ Chez Scheme.")
 ;; files.
 (define (chez-make-flags name version)
   `(let ((out (assoc-ref %outputs "out")))
-     (list (string-append "PREFIX=" out)
-           (string-append "DOCDIR=" out "/share/doc/"
-                          ,name "-" ,version))))
+     (list
+      ;; Set 'chezversion' so that libraries are installed in
+      ;; 'lib/csvX.Y.Z-site' like Chez's 'native-search-paths' expects.
+      (string-append "chezversion=" ,(package-version chez-scheme))
+      (string-append "PREFIX=" out)
+      (string-append "DOCDIR=" out "/share/doc/"
+                     ,name "-" ,version))))
 
 (define-public chez-matchable
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]