Skip to content

Commit 3445bb6

Browse files
committed
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>
1 parent 0a7b2aa commit 3445bb6

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

pkgs/by-name/xe/xen/package.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
stdenv,
44
testers,
5-
fetchgit,
5+
fetchFromGitHub,
66
fetchpatch,
77
replaceVars,
88

@@ -241,9 +241,10 @@ stdenv.mkDerivation (finalAttrs: {
241241
"boot"
242242
];
243243

244-
src = fetchgit {
245-
url = "https://xenbits.xenproject.org/git-http/xen.git";
246-
rev = "08f043965a7b1047aabd6d81da6b031465f2d797";
244+
src = fetchFromGitHub {
245+
owner = "xen-project";
246+
repo = "xen";
247+
tag = "RELEASE-4.20.1";
247248
hash = "sha256-a4dIJBY5aeznXPoI8nSipMgimmww7ejoQ1GE28Gq13o=";
248249
};
249250

0 commit comments

Comments
 (0)