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))) #t)))
(add-after 'install 'install-extra-documentation (add-after 'install 'install-extra-documentation
;; Install sample configuration file, Info, and HTML manual. ;; 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")) (let* ((share (string-append (assoc-ref outputs "out") "/share"))
(doc (string-append share "/doc/" ,name "-" ,version)) (doc (string-append share "/doc/" ,name "-" ,version))
(html (string-append share "/html")) (html (string-append share "/html"))
(info (string-append share "/info")) (info (string-append share "/info"))
(makeinfo (string-append (assoc-ref %build-inputs "texinfo") (makeinfo (string-append
"/bin/makeinfo"))) (assoc-ref (or native-inputs inputs) "texinfo")
"/bin/makeinfo")))
;; First fix Texinfo documentation, create appropriate ;; First fix Texinfo documentation, create appropriate
;; directories, then generate Info and HTML files there. ;; directories, then generate Info and HTML files there.
(substitute* "qe-doc.texi" (substitute* "qe-doc.texi"