xen: switch to fetchFromGitHub

Xenbits is protected with Anubis, and while currently fetching works,
there is no reason to put the load on Xen's servers when a GitHub mirror
is available.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues
2025-11-14 08:12:27 +11:00
parent 0a7b2aac56
commit 3445bb69eb
+5 -4
View File
@@ -2,7 +2,7 @@
lib,
stdenv,
testers,
fetchgit,
fetchFromGitHub,
fetchpatch,
replaceVars,
@@ -241,9 +241,10 @@ stdenv.mkDerivation (finalAttrs: {
"boot"
];
src = fetchgit {
url = "https://xenbits.xenproject.org/git-http/xen.git";
rev = "08f043965a7b1047aabd6d81da6b031465f2d797";
src = fetchFromGitHub {
owner = "xen-project";
repo = "xen";
tag = "RELEASE-4.20.1";
hash = "sha256-a4dIJBY5aeznXPoI8nSipMgimmww7ejoQ1GE28Gq13o=";
};