docbook-xsl-ns: "revert" after parent commit

I didn't realize I was redefining two derivations at once.
This commit is contained in:
Vladimír Čunát 2018-01-30 19:49:44 +01:00
parent 15c471e444
commit e851d53cea
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -2,7 +2,7 @@
let
common = { pname, sha256 }: let self = stdenv.mkDerivation rec {
common = { pname, sha256, patches ? [] }: let self = stdenv.mkDerivation rec {
name = "${pname}-1.79.1";
src = fetchurl {
@ -10,13 +10,7 @@ let
inherit sha256;
};
patches = [(fetchpatch {
name = "potential-infinite-template-recursion.patch";
url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
+ "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd";
sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h";
stripLen = "1";
})];
inherit patches;
propagatedBuildInputs = [ findXMLCatalogs ];
@ -52,6 +46,15 @@ in {
docbook_xsl = common {
pname = "docbook-xsl";
sha256 = "0s59lihif2fr7rznckxr2kfyrvkirv76r1zvidp9b5mj28p4apvj";
patches = [(fetchpatch {
name = "potential-infinite-template-recursion.patch";
url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
+ "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd";
sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h";
stripLen = "1";
})];
};
docbook_xsl_ns = common {