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>master
parent
fe4e770fc1
commit
95e6468a84
|
@ -416,9 +416,13 @@ Chez Scheme.")
|
||||||
;; files.
|
;; files.
|
||||||
(define (chez-make-flags name version)
|
(define (chez-make-flags name version)
|
||||||
`(let ((out (assoc-ref %outputs "out")))
|
`(let ((out (assoc-ref %outputs "out")))
|
||||||
(list (string-append "PREFIX=" out)
|
(list
|
||||||
(string-append "DOCDIR=" out "/share/doc/"
|
;; Set 'chezversion' so that libraries are installed in
|
||||||
,name "-" ,version))))
|
;; '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
|
(define-public chez-matchable
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue