Skip to content

Commit 15c471e

Browse files
committedJan 29, 2018
docbook-xsl: apply Debian/Fedora patch to fix issues
Our samba now got hit by that bug: https://hydra.nixos.org/build/68373563
1 parent 303d5b1 commit 15c471e

File tree

1 file changed

+9
-1
lines changed
  • pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl

1 file changed

+9
-1
lines changed
 

‎pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, fetchurl, findXMLCatalogs, writeScriptBin, ruby, bash }:
1+
{ lib, stdenv, fetchurl, fetchpatch, findXMLCatalogs, writeScriptBin, ruby, bash }:
22

33
let
44

@@ -10,6 +10,14 @@ let
1010
inherit sha256;
1111
};
1212

13+
patches = [(fetchpatch {
14+
name = "potential-infinite-template-recursion.patch";
15+
url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
16+
+ "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd";
17+
sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h";
18+
stripLen = "1";
19+
})];
20+
1321
propagatedBuildInputs = [ findXMLCatalogs ];
1422

1523
dontBuild = true;

1 commit comments

Comments
 (1)

vcunat commented on Jan 30, 2018

@vcunat
MemberAuthor

Oh, I think I pushed a different commit than I wanted. I promise to fix this in several hours.

Please sign in to comment.