GNU bug report logs - #50330
[PATCH] gnu: mandoc: Add $MANPATH to native-search-paths.

Previous Next

Package: guix-patches;

Reported by: Milkey Mouse <milkeymouse <at> meme.institute>

Date: Thu, 2 Sep 2021 00:00:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50330 in the body.
You can then email your comments to 50330 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#50330; Package guix-patches. (Thu, 02 Sep 2021 00:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Milkey Mouse <milkeymouse <at> meme.institute>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 02 Sep 2021 00:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Milkey Mouse <milkeymouse <at> meme.institute>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: mandoc: Add $MANPATH to native-search-paths.
Date: Wed,  1 Sep 2021 16:58:53 -0700
* gnu/packages/man.scm (mandoc)[native-search-paths]: New field.
---
I use mandoc as a substitute for man-db, and when man-db isn't
installed, mandoc was finding no man pages as $MANPATH wasn't being
set. I don't think it causes any problems for MANPATH to be in the
native-search-paths of both mandoc and man-db, right?

 gnu/packages/man.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index 50295b55f7..49e149128d 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -254,6 +254,10 @@ the traditional flat-text whatis databases.")
                                         "\n"))))))))
     (native-inputs `(("perl" ,perl)))             ;used to run tests
     (inputs `(("zlib" ,zlib)))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "MANPATH")
+            (files '("share/man")))))
     (synopsis "Tools for BSD mdoc and man pages")
     (description
      "mandoc is a suite of tools compiling mdoc, the roff macro language of
-- 
2.33.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 07 Sep 2021 14:07:02 GMT) Full text and rfc822 format available.

Notification sent to Milkey Mouse <milkeymouse <at> meme.institute>:
bug acknowledged by developer. (Tue, 07 Sep 2021 14:07:02 GMT) Full text and rfc822 format available.

Message #10 received at 50330-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Milkey Mouse <milkeymouse <at> meme.institute>
Cc: 50330-done <at> debbugs.gnu.org
Subject: Re: bug#50330: [PATCH] gnu: mandoc: Add $MANPATH to
 native-search-paths.
Date: Tue, 07 Sep 2021 16:06:52 +0200
Hi,

Milkey Mouse <milkeymouse <at> meme.institute> skribis:

> * gnu/packages/man.scm (mandoc)[native-search-paths]: New field.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Oct 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.