1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 20:10:39 +02:00

gnu: qemacs: Use 'native-inputs' instead of '%build-inputs'.

In build phases, the former (or 'inputs', as appropriate) is preferred.

* gnu/packages/text-editors.scm
  (qemacs)[arguments]<#:phases>{install-extra-documentation}: Use
  'native-inputs' argument instead of '%build-inputs'.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2021-05-25 15:49:05 +02:00 committed by Mathieu Othacehe
parent 09be86744f
commit 156b8f9cd2
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -524,13 +524,14 @@ OpenBSD team.")
#t)))
(add-after 'install 'install-extra-documentation
;; Install sample configuration file, Info, and HTML manual.
(lambda* (#:key outputs #:allow-other-keys)
(lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
(let* ((share (string-append (assoc-ref outputs "out") "/share"))
(doc (string-append share "/doc/" ,name "-" ,version))
(html (string-append share "/html"))
(info (string-append share "/info"))
(makeinfo (string-append (assoc-ref %build-inputs "texinfo")
"/bin/makeinfo")))
(makeinfo (string-append
(assoc-ref (or native-inputs inputs) "texinfo")
"/bin/makeinfo")))
;; First fix Texinfo documentation, create appropriate
;; directories, then generate Info and HTML files there.
(substitute* "qe-doc.texi"