mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
p7zip: add commit ID to the patch
We still do mirror the patch (I think), as `nix-build -Q -A p7zip.patches` downloaded it on my machine. I verified that only the diff headers differ; it's still better to have another working download and Fedora's URLs are less likely to disappear than Debian's. /cc #27075.
This commit is contained in:
parent
674e46d643
commit
6cad339a0e
@ -10,8 +10,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/cgit/rpms/p7zip.git/plain/CVE-2016-9296.patch";
|
||||
(fetchpatch rec {
|
||||
name = "CVE-2016-9296.patch";
|
||||
url = "https://src.fedoraproject.org/cgit/rpms/p7zip.git/plain/${name}?id=4b3973f6a5d";
|
||||
sha256 = "09wbkzai46bwm8zmplsz0m4jck3qn7snr68i9p1gsih300zidj0m";
|
||||
})
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user