Message ID | 87d74d07fd74d7ce0ffbe330aa72d327f7dc7708.1674443296.git.mirai@makinata.eu |
---|---|
State | New |
Headers | show |
Series | Modernize and fix docbook-xml | expand |
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index e09d8395a5..b1743baf5e 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -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")))