unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Milkey Mouse <milkeymouse@meme.institute>
To: 50330@debbugs.gnu.org
Subject: [bug#50330] [PATCH] gnu: mandoc: Add $MANPATH to native-search-paths.
Date: Wed,  1 Sep 2021 16:58:53 -0700	[thread overview]
Message-ID: <20210901235853.882045-1-milkeymouse@meme.institute> (raw)

* 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	other threads:[~2021-09-02  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01 23:58 Milkey Mouse [this message]
2021-09-07 14:06 ` bug#50330: [PATCH] gnu: mandoc: Add $MANPATH to native-search-paths Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210901235853.882045-1-milkeymouse@meme.institute \
    --to=milkeymouse@meme.institute \
    --cc=50330@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).