summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-03-11 17:54:11 +0000
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-21 00:44:00 -0400
commita29754b4f152db15b8a7622d7319cfee62f8d7d8 (patch)
treec243109d5484ea5cda12bde2ac78af4e64600131
parentf8d169e3931a525db4a4cdd9ce5ef2da192f514b (diff)
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>
-rw-r--r--gnu/packages/docbook.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 63c4abc914..1816b19685 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -62,8 +62,15 @@
(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")))