Subject: bug#55107: closed (Re: bug#55107: [PATCH] gnu: zsh: Build and install info pages.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 29 Apr 2022 12:55:02 +0000

Your bug report

#55107: [PATCH] gnu: zsh: Build and install info pages.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
55107: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55107
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#55107: [PATCH] gnu: zsh: Build and install info pages.
From: Ludovic Courtès <[email-masked]>
To: Thiago Jung Bauermann <[email-masked]>
Cc: [email-masked], Andrew Tropin <[email-masked]>
Date: Fri, 29 Apr 2022 14:54:34 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Thiago Jung Bauermann <[email-masked]> skribis:

> This looks great. Just a couple of comments:
>
> Andrew Tropin <[email-masked]> writes:
>
>> [[PGP Signed Part:Undecided]]
>>
>> * gnu/packages/shells.scm (zsh)[arguments]: Build and install info pages.

Applied with the changes Thiago suggested.

Thanks!

Ludo’.

Subject: [PATCH] gnu: zsh: Build and install info pages.
From: Andrew Tropin <[email-masked]>
To: [email-masked]
Date: Mon, 25 Apr 2022 09:40:02 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/shells.scm (zsh)[arguments]: Build and install info pages.
---
 gnu/packages/shells.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 3a48bc7dbf..7158a5bcfb 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2020, 2022 Marius Bakke <[email-masked]>
 ;;; Copyright © 2021, 2022 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2021, 2022 Felix Gruber <[email-masked]>
+;;; Copyright © 2022 Andrew Tropin <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -64,6 +65,7 @@ (define-module (gnu packages shells)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages texinfo)
   #:use-module (guix build-system cargo)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
@@ -522,9 +524,13 @@ (define-public zsh
                          (("command -pv") "command -v")
                          (("command -p") "command ")
                          (("'command' -p") "'command' "))
-                       #t)))))
+                       #t))
+                   (add-after 'build 'make-info
+                     (lambda _ (invoke "make" "info")))
+                   (add-after 'build 'install-info
+                     (lambda _ (invoke "make" "install.info"))))))
     (native-inputs (list autoconf))
-    (inputs (list ncurses pcre perl))
+    (inputs (list ncurses pcre perl texinfo))
     (synopsis "Powerful shell for interactive use and scripting")
     (description "The Z shell (zsh) is a Unix shell that can be used
 as an interactive login shell and as a powerful command interpreter
-- 
2.35.1