mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
grsecurity: use upstream url as the primary source
This commit is contained in:
parent
ca7cc96ee8
commit
9a63779d64
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user