guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: gnu: mandoc: Add $MANPATH to native-search-paths.


From: guix-commits
Subject: 07/07: gnu: mandoc: Add $MANPATH to native-search-paths.
Date: Tue, 7 Sep 2021 10:09:31 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3d42aa33da54e9a289112afc4ad4662b9402b2f4
Author: Milkey Mouse <milkeymouse@meme.institute>
AuthorDate: Wed Sep 1 16:58:53 2021 -0700

    gnu: mandoc: Add $MANPATH to native-search-paths.
    
    * gnu/packages/man.scm (mandoc)[native-search-paths]: New field.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/man.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index 50295b5..49e1491 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]