mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
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.
This commit is contained in:
parent
8e3d4f05df
commit
2f7ab8e373
1 changed files with 2 additions and 6 deletions
|
@ -146,8 +146,7 @@ (define-public man-db
|
|||
(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 @@ (define-public man-db
|
|||
'("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.
|
||||
|
|
Loading…
Reference in a new issue