guix-commits
[Top][All Lists]
Advanced

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

branch staging updated: gnu: man-db: Simplify 'patch-test-shebangs' phas


From: guix-commits
Subject: branch staging updated: gnu: man-db: Simplify 'patch-test-shebangs' phase.
Date: Tue, 22 Mar 2022 15:40:06 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch staging
in repository guix.

The following commit(s) were added to refs/heads/staging by this push:
     new 15d1d23dbb gnu: man-db: Simplify 'patch-test-shebangs' phase.
15d1d23dbb is described below

commit 15d1d23dbbd1f2f45820c205c38bf666382bc211
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Mar 22 11:29:25 2022 -0400

    gnu: man-db: Simplify 'patch-test-shebangs' phase.
    
    * gnu/packages/man.scm (man-db)[phases]{patch-test-shebangs}: Do not filter
    nonexistent directories from find-files.
    [modules]: Delete field.
---
 gnu/packages/man.scm | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index 14aaa36ea1..1c1d82758b 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -146,8 +146,7 @@ a flexible and convenient way.")
                                  (substitute* file
                                    (("#! /bin/sh")
                                     (string-append "#!" (which "sh")))))
-                               (remove file-is-directory?
-                                       (find-files "src/tests" ".*"))))))
+                               (find-files "src/tests")))))
                (add-after 'unpack 'patch-absolute-paths
                  (lambda* (#:key inputs #:allow-other-keys)
                    (substitute* "src/man.c"
@@ -194,10 +193,7 @@ a flexible and convenient way.")
                    '("nroff" "eqn" "neqn" "tbl" "refer" "pic")))
            ;; At run time we should refer to GROFF-MINIMAL, not GROFF (the 
latter
            ;; pulls in Perl.)
-           #:disallowed-references (list groff)
-           #:modules '((guix build gnu-build-system)
-                       (guix build utils)
-                       (srfi srfi-1))))
+           #:disallowed-references (list groff)))
     (native-inputs
      (list pkg-config flex
            ;; Groff is needed at build time for troff, grops, soelim, etc.



reply via email to

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