From d8369edfcda8bc253694e70b4d164c15525dbbc8 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 4 Jan 2020 23:22:29 +0100 Subject: docbook-xsl: Fix reproducibility when building docs When building docs generate.consistent.ids was not respected for indexes. https://github.com/docbook/xslt10-stylesheets/pull/88 https://sourceforge.net/p/docbook/bugs/1385/ This lead to r13y failures in udisks2.devdoc. --- pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs/data') diff --git a/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix index 5297d5dbd5d..8aa1f0b6330 100644 --- a/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix +++ b/pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix @@ -22,6 +22,15 @@ let stripLen = "1"; }) + # Fix reproducibility by respecting generate.consistent.ids in indexes + # https://github.com/docbook/xslt10-stylesheets/pull/88 + # https://sourceforge.net/p/docbook/bugs/1385/ + (fetchpatch { + url = "https://github.com/docbook/xslt10-stylesheets/commit/07631601e6602bc49b8eac3aab9d2b35968d3e7a.patch"; + sha256 = "0igfhcr6hzcydqsnjsd181h5yl3drjnrwdmxcybr236m8255vkq3"; + stripLen = "1"; + }) + # Add legacy sourceforge.net URIs to the catalog (substituteAll { src = ./catalog-legacy-uris.patch; -- cgit 1.4.1