From 683cbb283a9fce9ef8ed9ef71ba9a79d0a467670 Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Fri, 6 Sep 2024 14:27:40 +0200 Subject: gnu: Add sbcl-ciel-repl. * gnu/packages/patches/sbcl-clei-repl.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/lisp-xyz.scm (sbcl-ciel-repl): New variable. Change-Id: I85eabe27d35a6d540a634f4121209b59a6c7085b Signed-off-by: Guillaume Le Vaillant --- gnu/packages/patches/sbcl-ciel-repl.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 gnu/packages/patches/sbcl-ciel-repl.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/sbcl-ciel-repl.patch b/gnu/packages/patches/sbcl-ciel-repl.patch new file mode 100644 index 0000000000..ab4dfdd793 --- /dev/null +++ b/gnu/packages/patches/sbcl-ciel-repl.patch @@ -0,0 +1,31 @@ +The standard CIEL REPL includes Quicklisp. We remove it for packaging +with Guix. + +The default Quicklisp-based build procedure removes one dependency +relation from the system definition for ciel/repl and replaces it by +an explicit load command using Quicklisp, as a workaround to some build +issue. Fortunately we don't have this issue with Guix, so we go back +to letting ASDF manage this dependency relation. + +--- a/repl.lisp ++++ b/repl.lisp +@@ -1,8 +1,5 @@ + ;; #!/usr/bin/sbcl --script +-(load "~/quicklisp/setup") + +-(let ((*standard-output* (make-broadcast-stream))) +- (ql:quickload "cl-readline")) + (uiop:define-package :sbcli + (:use :common-lisp :trivial-package-local-nicknames) + (:import-from :magic-ed +--- a/ciel.asd ++++ b/ciel.asd +@@ -179,7 +179,7 @@ + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + (asdf:defsystem "ciel/repl" + :description "readline REPL for CIEL with quality of life improvements." +- :depends-on (;; :ciel ;; let's avoid, it could run side effects twice (like a defparameter set then reset). ++ :depends-on (:ciel + ;; deps + :cl-readline + :lisp-critic ;; it would be nice to integrate it with Slime. -- cgit v1.2.3