From a6639cf7f294e4ca53522666d644c64c53d46861 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 13 Jul 2014 17:08:55 +0200 Subject: gnu: docbook-xml: Substitute remote xml_catalog uris with local ones. * gnu/packages/docbook.scm: substitute remote uri with local ones. --- gnu/packages/docbook.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index 1a48d97f9b..431da7ff47 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -50,8 +50,12 @@ (dtd (string-append out "/xml/dtd/docbook"))) (mkdir-p dtd) (with-directory-excursion dtd - (system* unzip source)))) - #:modules ((guix build utils)))) + (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") (synopsis "DocBook XML DTDs for document authoring") -- cgit v1.2.3