mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
gnu: vera: Use invoke.
* gnu/packages/dictionaries.scm (vera)[arguments]: Use invoke and remove vestigial plumbing in the builder.
This commit is contained in:
parent
09b8c04e22
commit
22fc1b90f0
1 changed files with 7 additions and 9 deletions
|
@ -62,7 +62,7 @@ (define-public vera
|
|||
(gz (assoc-ref %build-inputs "gzip"))
|
||||
(texi (assoc-ref %build-inputs "texinfo")))
|
||||
(setenv "PATH" (string-append gz "/bin"))
|
||||
(system* (string-append tar "/bin/tar") "xvf" source)
|
||||
(invoke (string-append tar "/bin/tar") "xvf" source)
|
||||
|
||||
(chdir (string-append "vera-" ,version))
|
||||
(mkdir-p info)
|
||||
|
@ -70,14 +70,12 @@ (define-public vera
|
|||
|
||||
;; XXX: Use '--force' because the document is unhappy
|
||||
;; with Texinfo 5 (yes, documents can be unhappy.)
|
||||
(and (zero?
|
||||
(system* (string-append texi "/bin/makeinfo")
|
||||
"vera.texi" "--force" "-o"
|
||||
(string-append info "/vera.info")))
|
||||
(zero?
|
||||
(system* (string-append texi "/bin/makeinfo")
|
||||
"vera.texi" "--force" "--html" "-o"
|
||||
(string-append html "/vera.html"))))))
|
||||
(invoke (string-append texi "/bin/makeinfo")
|
||||
"vera.texi" "--force" "-o"
|
||||
(string-append info "/vera.info"))
|
||||
(invoke (string-append texi "/bin/makeinfo")
|
||||
"vera.texi" "--force" "--html" "-o"
|
||||
(string-append html "/vera.html"))))
|
||||
#:modules ((guix build utils))))
|
||||
(native-inputs `(("texinfo" ,texinfo)
|
||||
("tar" ,tar)
|
||||
|
|
Loading…
Reference in a new issue