[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50330] [PATCH] gnu: mandoc: Add $MANPATH to native-search-paths.
From: |
Milkey Mouse |
Subject: |
[bug#50330] [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
- [bug#50330] [PATCH] gnu: mandoc: Add $MANPATH to native-search-paths.,
Milkey Mouse <=