Subject: [PATCH] gnu: ecl-ciel: Remove build phase "build-image" and output "image"
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Mon, 30 Sep 2024 14:25:13 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/lisp-xyz.scm (ecl-ciel)[outputs]: Remove "image".
  (ecl-ciel)[arguments]: Remove 'build-image' phase.

Change-Id: I6640add7f28ac655180fc9b419684dc9d51f5130
---
 gnu/packages/lisp-xyz.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0f8023505e..498e4c0bf3 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -3632,7 +3632,17 @@ (define-public cl-ciel
   (sbcl-package->cl-source-package sbcl-ciel))
 
 (define-public ecl-ciel
-  (sbcl-package->ecl-package sbcl-ciel))
+  ;; Remove the "image" output and the build phase "build-image"
+  ;; (which fails because ECL has no support for images).
+  (let ((pkg (sbcl-package->ecl-package sbcl-ciel)))
+    (package
+      (inherit pkg)
+      (outputs '("out"))
+      (arguments
+       (substitute-keyword-arguments (package-arguments pkg)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (delete 'build-image))))))))
 
 (define-public sbcl-ciel-repl
   (let ((commit "0b26d64dcd91a3a2aa962842629a853261dd30fe")

base-commit: 41e408eb1f93d96b549d345e2de74143220b7b76
-- 
2.46.0