mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: cups: Fix build failure in reset-gzip-timestamps phase.
* gnu/packages/cups.scm (cups)[arguments]: Add 'make-manpages-writable' phase.
This commit is contained in:
parent
751702676e
commit
29796b3f94
1 changed files with 8 additions and 0 deletions
|
@ -275,6 +275,14 @@ (define-public cups
|
||||||
(string-append "cupsFileFind(\"cat\", \"" catpath "\""))
|
(string-append "cupsFileFind(\"cat\", \"" catpath "\""))
|
||||||
(("cupsFileFind\\(\"cat\", \"/bin:/usr/bin\"")
|
(("cupsFileFind\\(\"cat\", \"/bin:/usr/bin\"")
|
||||||
(string-append "cupsFileFind(\"cat\", \"" catpath "\""))))))
|
(string-append "cupsFileFind(\"cat\", \"" catpath "\""))))))
|
||||||
|
;; Make the compressed manpages writable so that the
|
||||||
|
;; reset-gzip-timestamps phase does not error out.
|
||||||
|
(add-before 'reset-gzip-timestamps 'make-manpages-writable
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(man (string-append out "/share/man")))
|
||||||
|
(for-each (lambda (file) (chmod file #o644))
|
||||||
|
(find-files man "\\.gz")))))
|
||||||
(add-after 'install 'install-cups-filters-symlinks
|
(add-after 'install 'install-cups-filters-symlinks
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in a new issue