guix_mirror_bot pushed a commit to branch lisp-team
in repository guix.

commit 92f995e6e1e867985929617604c72c93bf71171b
Author: Guillaume Le Vaillant <[email protected]>
AuthorDate: Fri Nov 13 20:44:08 2026 +0100

    gnu: cl-lift: Fix build with clasp-cl.
    
    * gnu/packages/lisp-check.scm (sbcl-lift)[arguments]: Add 'fix-for-clasp-3'
      phase.
      (clasp-lift): New variable.
---
 gnu/packages/lisp-check.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lisp-check.scm b/gnu/packages/lisp-check.scm
index 41e1eeeae95..7352ac6a313 100644
--- a/gnu/packages/lisp-check.scm
+++ b/gnu/packages/lisp-check.scm
@@ -32,6 +32,7 @@
 
 (define-module (gnu packages lisp-check)
   #:use-module (gnu packages)
+  #:use-module (guix gexp)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages lisp-xyz)
   #:use-module (guix packages)
@@ -637,7 +638,13 @@ with a focus on interactive development.")
       (build-system asdf-build-system/sbcl)
       (arguments
        ;; The tests require a debugger, but we run with the debugger disabled.
-       '(#:tests? #f))
+       (list #:tests? #f
+             #:phases #~(modify-phases %standard-phases
+                          (add-after 'unpack 'fix-for-clasp-3
+                            (lambda _
+                              (substitute* "dev/port.lisp"
+                                (("core:btcl")
+                                 "clasp-debug:print-backtrace")))))))
       (synopsis "LIsp Framework for Testing")
       (description
        "The LIsp Framework for Testing (LIFT) is a unit and system test tool 
for LISP.
@@ -654,6 +661,9 @@ supports randomized testing, benchmarking, profiling, and 
reporting.")
 (define-public ecl-lift
   (sbcl-package->ecl-package sbcl-lift))
 
+(define-public clasp-lift
+  (sbcl-package->clasp-package sbcl-lift))
+
 (define-public sbcl-lisp-unit
   (let ((commit "89653a232626b67400bf9a941f9b367da38d3815"))
     (package

Reply via email to