diff --git a/pkgs/applications/version-management/git/default.nix b/pkgs/applications/version-management/git/default.nix index 63c7b8346b31..1d212d70fc3f 100644 --- a/pkgs/applications/version-management/git/default.nix +++ b/pkgs/applications/version-management/git/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation { name = "git-1.5.1.2"; src = fetchurl { - url = http://www.kernel.org/pub/software/scm/git/git-1.5.1.2.tar.bz2; + url = mirror://kernel/software/scm/git/git-1.5.1.2.tar.bz2; sha256 = "0a7nnw9631h6nxk7sny0cjv89qlibilvsm6947620vr2kgc6p6k2"; }; diff --git a/pkgs/os-specific/linux/dietlibc/default.nix b/pkgs/os-specific/linux/dietlibc/default.nix index 4927b5ce379f..9a501188d535 100644 --- a/pkgs/os-specific/linux/dietlibc/default.nix +++ b/pkgs/os-specific/linux/dietlibc/default.nix @@ -5,7 +5,7 @@ assert stdenv.isLinux; stdenv.mkDerivation { name = "dietlibc-0.30"; src = fetchurl { - url = http://www.kernel.org/pub/linux/libs/dietlibc/dietlibc-0.30.tar.bz2; + url = mirror://kernel/linux/libs/dietlibc/dietlibc-0.30.tar.bz2; md5 = "2465d652fff6f1fad3da3b98e60e83c9"; }; builder = ./builder.sh; diff --git a/pkgs/os-specific/linux/kernel-headers-cross/default.nix b/pkgs/os-specific/linux/kernel-headers-cross/default.nix index efe6ba383f4b..e2d4dedf799a 100644 --- a/pkgs/os-specific/linux/kernel-headers-cross/default.nix +++ b/pkgs/os-specific/linux/kernel-headers-cross/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation { name = "linux-headers-2.6.14.5"; builder = ./builder.sh; src = fetchurl { - url = ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.5.tar.bz2; + url = mirror://kernel/linux/kernel/v2.6/linux-2.6.14.5.tar.bz2; md5 = "9f057e3bd31c50dc48553def01bc8037"; }; inherit cross; diff --git a/pkgs/os-specific/linux/kernel-headers/2.6.21.3.nix b/pkgs/os-specific/linux/kernel-headers/2.6.21.3.nix index 6ec894660ea0..2f0b00fcd5f5 100644 --- a/pkgs/os-specific/linux/kernel-headers/2.6.21.3.nix +++ b/pkgs/os-specific/linux/kernel-headers/2.6.21.3.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation { name = "linux-headers-2.6.21.3"; builder = ./builder.sh; src = fetchurl { - url = "http://ftp.de.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.3.tar.bz2"; + url = "mirror://kernel/linux/kernel/v2.6/linux-2.6.21.3.tar.bz2"; sha256 = "17rxvw42z4amijb8nya54c2h6bb8gnxnr628arv8shmsccf8qsp5"; }; diff --git a/pkgs/os-specific/linux/kernel-headers/default.nix b/pkgs/os-specific/linux/kernel-headers/default.nix index 9aa9f9ba488d..ef94f1b006c7 100644 --- a/pkgs/os-specific/linux/kernel-headers/default.nix +++ b/pkgs/os-specific/linux/kernel-headers/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation { name = "linux-headers-2.6.20.11"; builder = ./builder.sh; src = fetchurl { - url = "http://ftp.nl.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.11.tar.bz2"; + url = "mirror://kernel/linux/kernel/v2.6/linux-2.6.20.11.tar.bz2"; sha256 = "1n0xgqckj64ga3l53l8lk1591lfcn6zcrqg3phz2m0y841ck5qlk"; }; diff --git a/pkgs/os-specific/linux/klibc/default.nix b/pkgs/os-specific/linux/klibc/default.nix index 79c1952c9d34..e8bb789d18d4 100644 --- a/pkgs/os-specific/linux/klibc/default.nix +++ b/pkgs/os-specific/linux/klibc/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation { name = "klibc-1.5"; builder = ./builder.sh; src = fetchurl { - url = http://www.nl.kernel.org/pub/linux/libs/klibc/klibc-1.5.tar.bz2; + url = mirror://kernel/linux/libs/klibc/klibc-1.5.tar.bz2; sha256 = "1izhf8kscjymsvsvhcqw9awnmp94vwv70zdj09srg9bkpjj0n017"; }; inherit kernel; diff --git a/pkgs/os-specific/linux/libcap/default.nix b/pkgs/os-specific/linux/libcap/default.nix index aa265cae3ef4..ad98ad05e2fd 100644 --- a/pkgs/os-specific/linux/libcap/default.nix +++ b/pkgs/os-specific/linux/libcap/default.nix @@ -5,7 +5,7 @@ assert stdenv.isLinux; stdenv.mkDerivation { name = "libcap-1.10"; src = fetchurl { - url = http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-1.10.tar.bz2; + url = mirror://kernel/linux/libs/security/linux-privs/kernel-2.4/libcap-1.10.tar.bz2; md5 = "4426a413128142cab89eb2e6f13d8571"; }; diff --git a/pkgs/os-specific/linux/module-init-tools/default.nix b/pkgs/os-specific/linux/module-init-tools/default.nix index 3b46e6a36d55..47f45d8fb4c3 100644 --- a/pkgs/os-specific/linux/module-init-tools/default.nix +++ b/pkgs/os-specific/linux/module-init-tools/default.nix @@ -3,7 +3,7 @@ stdenv.mkDerivation { name = "module-init-tools-3.2.2"; src = fetchurl { - url = ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-3.2.2.tar.bz2; + url = mirror://kernel/linux/utils/kernel/module-init-tools/module-init-tools-3.2.2.tar.bz2; md5 = "a1ad0a09d3231673f70d631f3f5040e9"; }; patches = [./module-dir.patch]; diff --git a/pkgs/os-specific/linux/modutils/default.nix b/pkgs/os-specific/linux/modutils/default.nix index ff0d25331aad..3a063408a2fe 100644 --- a/pkgs/os-specific/linux/modutils/default.nix +++ b/pkgs/os-specific/linux/modutils/default.nix @@ -3,7 +3,7 @@ stdenv.mkDerivation { name = "modutils-2.4.27"; src = fetchurl { - url = http://www.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-2.4.27.tar.bz2; + url = mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-2.4.27.tar.bz2; md5 = "bac989c74ed10f3bf86177fc5b4b89b6"; }; buildInputs = [bison flex]; diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index 1cd134f33d23..9120a121732c 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation { name = "linux-pam-0.99.6.3"; builder = ./builder.sh; src = fetchurl { - url = http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.99.6.3.tar.bz2; + url = mirror://kernel/linux/libs/pam/pre/library/Linux-PAM-0.99.6.3.tar.bz2; md5 = "4c2830ed55a41e795af6a482009a036c"; }; buildInputs = [flex]; diff --git a/pkgs/os-specific/linux/pwdutils/default.nix b/pkgs/os-specific/linux/pwdutils/default.nix index 137649d781e4..0d771599d64c 100644 --- a/pkgs/os-specific/linux/pwdutils/default.nix +++ b/pkgs/os-specific/linux/pwdutils/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation { name = "pwdutils-3.1.3"; src = fetchurl { - url = ftp://ftp.kernel.org/pub/linux/utils/net/NIS/pwdutils-3.1.3.tar.bz2; + url = mirror://kernel/linux/utils/net/NIS/pwdutils-3.1.3.tar.bz2; md5 = "b18c601e282d8695cbb5ddd87eaa473c"; }; diff --git a/pkgs/os-specific/linux/syslinux/default.nix b/pkgs/os-specific/linux/syslinux/default.nix index 9532fbcf19da..42e6f0b8c296 100644 --- a/pkgs/os-specific/linux/syslinux/default.nix +++ b/pkgs/os-specific/linux/syslinux/default.nix @@ -3,7 +3,7 @@ stdenv.mkDerivation { name = "syslinux-3.35"; src = fetchurl { - url = http://www.kernel.org/pub/linux/utils/boot/syslinux/Old/syslinux-3.35.tar.bz2; + url = mirror://kernel/linux/utils/boot/syslinux/Old/syslinux-3.35.tar.bz2; sha256 = "16kf2zhd0c4m3ai9xcls2y0ggvajhmzk1g6mv6jrv8nskkg6w0l6"; }; buildInputs = [nasm perl]; diff --git a/pkgs/os-specific/linux/udev/default.nix b/pkgs/os-specific/linux/udev/default.nix index 1b8df0d7b850..14393f599582 100644 --- a/pkgs/os-specific/linux/udev/default.nix +++ b/pkgs/os-specific/linux/udev/default.nix @@ -3,7 +3,7 @@ stdenv.mkDerivation { name = "udev-112"; src = fetchurl { - url = http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/udev-112.tar.bz2; + url = mirror://kernel/linux/utils/kernel/hotplug/udev-112.tar.bz2; sha256 = "0vhqnli4va3yzvr90rcpbgs42sphpk9prdis9x2qmlmdynzangw2"; }; preBuild = "makeFlagsArray=(etcdir=$out/etc sbindir=$out/sbin usrbindir=$out/bin usrsbindir=$out/sbin mandir=$out/share/man INSTALL='install -c')"; diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix index f53ba731ab37..7f54a0c32eeb 100644 --- a/pkgs/os-specific/linux/util-linux/default.nix +++ b/pkgs/os-specific/linux/util-linux/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation { name = "util-linux-2.13-pre7"; src = fetchurl { - url = ftp://ftp.nl.kernel.org/pub/linux/utils/util-linux/testing/util-linux-2.13-pre7.tar.bz2; + url = mirror://kernel/linux/utils/util-linux/testing/util-linux-2.13-pre7.tar.bz2; md5 = "13cdf4b76533e8421dc49de188f85291"; }; diff --git a/pkgs/tools/system/pciutils/default.nix b/pkgs/tools/system/pciutils/default.nix index d52257d0ab49..84bd24195ce2 100644 --- a/pkgs/tools/system/pciutils/default.nix +++ b/pkgs/tools/system/pciutils/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation { name = "pciutils-2.2.5"; builder = ./builder.sh; src = fetchurl { - url = ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-2.2.5.tar.bz2; + url = mirror://kernel/software/utils/pciutils/pciutils-2.2.5.tar.bz2; sha256 = "1zlamdax1i8cf3kvzg7dh7nshvvzlhvkwlxdmym0hbnmbf0p100p"; }; buildInputs = [zlib];