Skip to content

Commit e851d53

Browse files
committedJan 30, 2018
docbook-xsl-ns: "revert" after parent commit
I didn't realize I was redefining two derivations at once.
1 parent 15c471e commit e851d53

File tree

1 file changed

+11
-8
lines changed
  • pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl

1 file changed

+11
-8
lines changed
 

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

+11-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@
22

33
let
44

5-
common = { pname, sha256 }: let self = stdenv.mkDerivation rec {
5+
common = { pname, sha256, patches ? [] }: let self = stdenv.mkDerivation rec {
66
name = "${pname}-1.79.1";
77

88
src = fetchurl {
99
url = "mirror://sourceforge/docbook/${name}.tar.bz2";
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-
})];
13+
inherit patches;
2014

2115
propagatedBuildInputs = [ findXMLCatalogs ];
2216

@@ -52,6 +46,15 @@ in {
5246
docbook_xsl = common {
5347
pname = "docbook-xsl";
5448
sha256 = "0s59lihif2fr7rznckxr2kfyrvkirv76r1zvidp9b5mj28p4apvj";
49+
50+
patches = [(fetchpatch {
51+
name = "potential-infinite-template-recursion.patch";
52+
url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
53+
+ "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd";
54+
sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h";
55+
stripLen = "1";
56+
})];
57+
5558
};
5659

5760
docbook_xsl_ns = common {

0 commit comments

Comments
 (0)