Mathieu Lirzin <m...@gnu.org> skribis: > * gnu/packages/version-control.scm (reposurgeon): New variable.
[...] > + (add-before 'build 'fix-docbook > + (lambda* (#:key inputs #:allow-other-keys) > + (setenv "XML_CATALOG_FILE" > + (string-append (assoc-ref inputs "docbook-xsl") > + "/xml/xsl/docbook-xsl-" > + ,(package-version docbook-xsl) > + "/manpages/docbook.xsl")) Could you add a comment on why this is needed? Normally, with libxml2 as an input, ‘XML_CATALOG_FILE’ should be properly initialized. > + ;; xsltproc generates random ids when the source document > doesn't > + ;; provide them. This is making the build not reproducible. > + (substitute* "reposurgeon.xml" Eventually we should fix it in libxslt along these lines: https://bugzilla.gnome.org/show_bug.cgi?id=758148 Could you send an updated patch? Thanks! Ludo’.