diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-09 12:10:01 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-09 15:31:00 +0100 |
commit | 9a63779d64e71c46976c4dcfe499967a6e88108d (patch) | |
tree | 44a3289706b883da44cbc5b009f75fcbe09d80e8 /pkgs/os-specific/linux/kernel | |
parent | ca7cc96ee8153b61afdfc8ebdb14ff064e3649af (diff) | |
download | nixlib-9a63779d64e71c46976c4dcfe499967a6e88108d.tar nixlib-9a63779d64e71c46976c4dcfe499967a6e88108d.tar.gz nixlib-9a63779d64e71c46976c4dcfe499967a6e88108d.tar.bz2 nixlib-9a63779d64e71c46976c4dcfe499967a6e88108d.tar.lz nixlib-9a63779d64e71c46976c4dcfe499967a6e88108d.tar.xz nixlib-9a63779d64e71c46976c4dcfe499967a6e88108d.tar.zst nixlib-9a63779d64e71c46976c4dcfe499967a6e88108d.zip |
grsecurity: use upstream url as the primary source
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-rw-r--r-- | pkgs/os-specific/linux/kernel/patches.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix index 20e4ec1fd7e1..0e6544bd7594 100644 --- a/pkgs/os-specific/linux/kernel/patches.nix +++ b/pkgs/os-specific/linux/kernel/patches.nix @@ -25,10 +25,13 @@ let inherit grver kver grrev; patch = fetchurl { - # When updating versions/hashes, ALWAYS use the official version; we use - # this mirror only because upstream removes sources files immediately upon - # releasing a new version ... - url = "https://raw.githubusercontent.com/slashbeast/grsecurity-scrape/master/${grbranch}/${name}.patch"; + urls = [ + "https://grsecurity.net/${grbranch}/${name}.patch" + # When updating versions/hashes, ALWAYS use the official + # version; we use this mirror only because upstream removes + # source files immediately upon releasing a new version ... + "https://raw.githubusercontent.com/slashbeast/grsecurity-scrape/master/${grbranch}/${name}.patch" + ]; inherit sha256; }; |