Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
expat: fetch the patch from "my private mirror"
Browse files Browse the repository at this point in the history
Fixes #71075.  I'm really tired of these, so lemme try this approach.
  • Loading branch information
vcunat committed Nov 7, 2019
1 parent efe4afd commit d628521
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkgs/development/libraries/expat/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch }:
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
name = "expat-2.2.7";
Expand All @@ -9,12 +9,9 @@ stdenv.mkDerivation rec {
};

patches = [
(fetchpatch {
name = "CVE-2019-15903.patch";
url = "https://sources.debian.org/data/main/e/expat/2.2.7-2/debian/patches/CVE-2019-15903_Deny_internal_entities_closing_the_doctype.patch";
(fetchurl {
url = "https://raw.githubusercontent.com/vcunat/patch-mirror/master/CVE-2019-15903.patch";
sha256 = "0lv4392ihpk71fgaf1fz03gandqkaqisal8xrzvcqnvnq4mnmwxp";
stripLen = 1;
excludes = [ "tests/runtests.c" "Changes" ];
})
];

Expand Down

0 comments on commit d628521

Please sign in to comment.