guix: Exclude broken symlinks from man files.
* guix/man-db.scm (man-files): Remove broken symlinks from list of man pages.
This commit is contained in:
parent
9c3ad422d0
commit
47ebb1a850
@ -187,7 +187,8 @@
|
||||
|
||||
(define (man-files directory)
|
||||
"Return the list of man pages found under DIRECTORY, recursively."
|
||||
(find-files directory "\\.[0-9][a-z]?(\\.gz)?$"))
|
||||
;; Filter the list to ensure that broken symlinks are excluded.
|
||||
(filter file-exists? (find-files directory "\\.[0-9][a-z]?(\\.gz)?$")))
|
||||
|
||||
(define (mandb-entries directory)
|
||||
"Return mandb entries for the man pages found under DIRECTORY, recursively."
|
||||
|
Loading…
Reference in New Issue
Block a user