gnu: sbcl-lparallel: Modify system definition to require sb-cltl2.

* gnu/packages/lisp-xyz.scm (sbcl-lparallel)[arguments]: Add 'fix-dependency'
  phase to modify system definition to require sb-cltl2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Katherine Cox-Buday 2020-06-06 11:18:00 -05:00 committed by Guillaume Le Vaillant
parent f9d4073612
commit 388a89750e
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -3197,6 +3197,17 @@ (define-public sbcl-lparallel
`(("alexandria" ,sbcl-alexandria)
("bordeaux-threads" ,sbcl-bordeaux-threads)
("trivial-garbage" ,sbcl-trivial-garbage)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-dependency
;; lparallel loads a SBCL specific system in its asd file. This is
;; not carried over into the fasl which is generated. In order for
;; it to be carried over, it needs to be listed as a dependency.
(lambda _
(substitute* "lparallel.asd"
((":depends-on \\(:alexandria" all)
(string-append all " #+sbcl :sb-cltl2"))))))))
(home-page "https://lparallel.org/")
(synopsis "Parallelism for Common Lisp")
(description