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>
This commit is contained in:
Martin Becze 2020-08-20 12:39:50 -05:00 committed by Ludovic Courtès
parent fe4e770fc1
commit 95e6468a84
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -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