mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: docbook-xml: Substitute remote xml_catalog uris with local ones.
* gnu/packages/docbook.scm: substitute remote uri with local ones.
This commit is contained in:
parent
1cac3de660
commit
a6639cf7f2
1 changed files with 6 additions and 2 deletions
|
@ -50,8 +50,12 @@ (define-public docbook-xml
|
||||||
(dtd (string-append out "/xml/dtd/docbook")))
|
(dtd (string-append out "/xml/dtd/docbook")))
|
||||||
(mkdir-p dtd)
|
(mkdir-p dtd)
|
||||||
(with-directory-excursion dtd
|
(with-directory-excursion dtd
|
||||||
(system* unzip source))))
|
(system* unzip source))
|
||||||
#:modules ((guix build utils))))
|
(substitute* (string-append out "/xml/dtd/docbook/catalog.xml")
|
||||||
|
(("uri=\"")
|
||||||
|
(string-append
|
||||||
|
"uri=\"file://" dtd "/")))))
|
||||||
|
#:modules ((guix build utils))))
|
||||||
(native-inputs `(("unzip" ,unzip)))
|
(native-inputs `(("unzip" ,unzip)))
|
||||||
(home-page "http://docbook.org")
|
(home-page "http://docbook.org")
|
||||||
(synopsis "DocBook XML DTDs for document authoring")
|
(synopsis "DocBook XML DTDs for document authoring")
|
||||||
|
|
Loading…
Reference in a new issue