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:
parent
09be86744f
commit
156b8f9cd2
1 changed files with 4 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue