mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
docbook-xsl-ns: "revert" after parent commit
I didn't realize I was redefining two derivations at once.
This commit is contained in:
parent
15c471e444
commit
e851d53cea
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
common = { pname, sha256 }: let self = stdenv.mkDerivation rec {
|
common = { pname, sha256, patches ? [] }: let self = stdenv.mkDerivation rec {
|
||||||
name = "${pname}-1.79.1";
|
name = "${pname}-1.79.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -10,13 +10,7 @@ let
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [(fetchpatch {
|
inherit patches;
|
||||||
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";
|
|
||||||
})];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ findXMLCatalogs ];
|
propagatedBuildInputs = [ findXMLCatalogs ];
|
||||||
|
|
||||||
@ -52,6 +46,15 @@ in {
|
|||||||
docbook_xsl = common {
|
docbook_xsl = common {
|
||||||
pname = "docbook-xsl";
|
pname = "docbook-xsl";
|
||||||
sha256 = "0s59lihif2fr7rznckxr2kfyrvkirv76r1zvidp9b5mj28p4apvj";
|
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 {
|
docbook_xsl_ns = common {
|
||||||
|
Loading…
Reference in New Issue
Block a user