mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 08:02:38 -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
|
(substitute* file
|
||||||
(("#! /bin/sh")
|
(("#! /bin/sh")
|
||||||
(string-append "#!" (which "sh")))))
|
(string-append "#!" (which "sh")))))
|
||||||
(remove file-is-directory?
|
(find-files "src/tests")))))
|
||||||
(find-files "src/tests" ".*"))))))
|
|
||||||
(add-after 'unpack 'patch-absolute-paths
|
(add-after 'unpack 'patch-absolute-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/man.c"
|
(substitute* "src/man.c"
|
||||||
|
@ -194,10 +193,7 @@ (define-public man-db
|
||||||
'("nroff" "eqn" "neqn" "tbl" "refer" "pic")))
|
'("nroff" "eqn" "neqn" "tbl" "refer" "pic")))
|
||||||
;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
|
;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
|
||||||
;; pulls in Perl.)
|
;; pulls in Perl.)
|
||||||
#:disallowed-references (list groff)
|
#:disallowed-references (list groff)))
|
||||||
#:modules '((guix build gnu-build-system)
|
|
||||||
(guix build utils)
|
|
||||||
(srfi srfi-1))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config flex
|
(list pkg-config flex
|
||||||
;; Groff is needed at build time for troff, grops, soelim, etc.
|
;; Groff is needed at build time for troff, grops, soelim, etc.
|
||||||
|
|
Loading…
Reference in a new issue