summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gtk.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 9f2e514e14..4fb4e8dc0d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1121,9 +1121,10 @@ information.")
                ;; docbook-xsl catalog explicitly and get on with life.
                (("\"\\$XML_CATALOG_FILE\" \
 \"http://docbook.sourceforge.net/release/xsl/")
-                (string-append (assoc-ref %build-inputs "docbook-xsl")
-                               "/xml/xsl/docbook-xsl-1.78.1/catalog.xml \
-\"http://docbook.sourceforge.net/release/xsl/"))))))
+                (string-append (car (find-files (assoc-ref inputs "docbook-xsl")
+                                                "^catalog.xml$"))
+                               " \"http://docbook.sourceforge.net/release/xsl/")))
+             #t)))
        #:configure-flags
        (list (string-append "--with-xml-catalog="
                             (assoc-ref %build-inputs "docbook-xml")