aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKatherine Cox-Buday <cox.katherine.e@gmail.com>2020-06-06 11:18:00 -0500
committerGuillaume Le Vaillant <glv@posteo.net>2020-06-07 10:32:22 +0200
commit388a89750ec60a320dd7b6a0b0f174cbed4f50c6 (patch)
tree7c2524e2460fd6087f05b89879d363ca97e79614 /gnu
parentf9d40736125e55976b7c226f00b6919e2bdfddf1 (diff)
downloadguix-388a89750ec60a320dd7b6a0b0f174cbed4f50c6.tar.gz
guix-388a89750ec60a320dd7b6a0b0f174cbed4f50c6.zip
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e92fd0ba1d..d8009c2638 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -3197,6 +3197,17 @@ WebKit browsing engine.")
`(("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