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:
John Darrington 2014-07-13 17:08:55 +02:00
parent 1cac3de660
commit a6639cf7f2

View file

@ -50,7 +50,11 @@ (define-public docbook-xml
(dtd (string-append out "/xml/dtd/docbook")))
(mkdir-p dtd)
(with-directory-excursion dtd
(system* unzip source))))
(system* unzip source))
(substitute* (string-append out "/xml/dtd/docbook/catalog.xml")
(("uri=\"")
(string-append
"uri=\"file://" dtd "/")))))
#:modules ((guix build utils))))
(native-inputs `(("unzip" ,unzip)))
(home-page "http://docbook.org")