gnu: docbook-xml: Fix permissions.

* gnu/packages/docbook.scm (docbook-xml-5)
[arguments]: Remove unnecessary executable permissions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Bruno Victal 2023-03-11 17:54:11 +00:00 committed by Maxim Cournoyer
parent f8d169e393
commit a29754b4f1
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -62,8 +62,15 @@ (define-public docbook-xml-5
(build-system copy-build-system)
(arguments
(list
#:modules '((guix build copy-build-system)
(guix build utils)
(srfi srfi-26))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-permissions
(lambda _
;; XXX: These files do not need 0755 permission.
(for-each (cut chmod <> #o644) (find-files "."))))
(replace 'install
(lambda _
(let ((dtd-path (string-append #$output "/xml/dtd/docbook")))