gnu: sbcl-trivia.trivial: Resolve Lisp type dynamically.

* gnu/packages/lisp.scm (sbcl-trivia.trivial)[arguments]: Use %lisp-type
instead of hard-coding "sbcl".
This commit is contained in:
Pierre Neidhardt 2019-07-05 12:30:41 +02:00
parent 4f54138731
commit 57f815cb6b
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 1 additions and 1 deletions

View File

@ -6478,7 +6478,7 @@ with extensible optimizer interface.")))
(replace 'create-asd-file (replace 'create-asd-file
(lambda* (#:key outputs inputs #:allow-other-keys) (lambda* (#:key outputs inputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib/sbcl")) (lib (string-append out "/lib/" (%lisp-type)))
(level2 (assoc-ref inputs "trivia.level2"))) (level2 (assoc-ref inputs "trivia.level2")))
(mkdir-p lib) (mkdir-p lib)
(install-file "trivia.trivial.asd" lib) (install-file "trivia.trivial.asd" lib)