From 95e6468a841d77d8c766f8e331eb66115eaf1550 Mon Sep 17 00:00:00 2001 From: Martin Becze Date: Thu, 20 Aug 2020 12:39:50 -0500 Subject: gnu: chez-scheme: Install libraries to 'lib/csvX.Y.Z-site' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/chez.scm (chez-make-flags): Add 'chezversion'. Co-authored-by: Ludovic Courtès --- gnu/packages/chez.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gnu/packages/chez.scm') diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index da0b17e799..df9d68a55c 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 -- cgit 1.4.1