From ba527075af603be63e1b9f612c66960974c1b6c7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 9 Nov 2015 17:56:57 +0100 Subject: [PATCH] kexec-tools: add mirror://kernel URI From http://horms.net/projects/kexec/kexec-tools: "The canonical site for kexec-tools release is http://kernel.org/pub/linux/utils/kernel/kexec/. It should also be available on the extensive network of kernel.org mirror sites and it is mirrored at http://horms.net/projects/kexec/kexec-tools/ just for good measure." --- pkgs/os-specific/linux/kexectools/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kexectools/default.nix b/pkgs/os-specific/linux/kexectools/default.nix index 483cdef079de..c1020b7513ed 100644 --- a/pkgs/os-specific/linux/kexectools/default.nix +++ b/pkgs/os-specific/linux/kexectools/default.nix @@ -5,7 +5,10 @@ stdenv.mkDerivation rec { name = "kexec-tools-${version}"; src = fetchurl { - url = "http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"; + urls = [ + "mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz" + "http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz" + ]; sha256 = "18x134nj37j1rshn5hxbyhdcv9kk5sfshs72alkip1icf54l2gp2"; };