Subject: [bug#75365] [PATCH]: Add info manual to sbcl-alexandria

From: André A. Gomes <[email-masked]>
Date: Sat, 04 Jan 2025 19:18:55 +0000

Attached, thanks!

-- 
André A. Gomes
"You cannot even find the ruins..."
>From 40fefbce044f88adb02298bee168becde80989cc Mon Sep 17 00:00:00 2001
From: "Andre A. Gomes" <[email-masked]>
Date: Sat, 4 Jan 2025 19:16:09 +0000
Subject: [PATCH] gnu: sbcl-alexandria: Add info manual.

* gnu/packages/lisp-xyz.scm (sbcl-alexandria): Add info manual.
---
 gnu/packages/lisp-xyz.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 01306bef46..e577299869 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2020-2024 Sharlatan Hellseher <[email-masked]>
 ;;; Copyright © 2021, 2022 Aurora <[email-masked]>
 ;;; Copyright © 2021 Matthew James Kraai <[email-masked]>
-;;; Copyright © 2021-2024 André A. Gomes <[email-masked]>
+;;; Copyright © 2021-2025 André A. Gomes <[email-masked]>
 ;;; Copyright © 2021, 2022, 2023 Cage <[email-masked]>
 ;;; Copyright © 2021 Cameron Chaparro <[email-masked]>
 ;;; Copyright © 2021, 2024 Charles Jackson <[email-masked]>
@@ -126,6 +126,7 @@ (define-module (gnu packages lisp-xyz)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages tcl)
+  #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
@@ -904,8 +905,17 @@ (define-public sbcl-alexandria
          (sha256
           (base32 "0pdj779j3nwzn8f1661vf00rrjrbks1xgiq0rvwjw6qyxsfqfnl9"))))
       (build-system asdf-build-system/sbcl)
+      (arguments
+       (list #:phases
+             #~(modify-phases %standard-phases
+                 (add-after 'build 'build-doc
+                   (lambda _
+                     (with-directory-excursion "doc"
+                       (invoke "make" "info")
+                       (install-file "alexandria.info"
+                                     (string-append #$output "/share/info"))))))))
       (native-inputs
-       (list sbcl-rt))
+       (list sbcl-rt texinfo))
       (synopsis "Collection of portable utilities for Common Lisp")
       (description
        "Alexandria is a collection of portable utilities.  It does not contain
-- 
2.46.0