From 57d71cf8d251ad2da6d4bbfe5adce8974c0032df Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Wed, 4 Feb 2015 17:38:39 +0100 Subject: [PATCH] More download mirrors for samba URLs --- pkgs/development/libraries/ntdb/default.nix | 5 ++++- pkgs/development/libraries/tdb/default.nix | 5 ++++- pkgs/servers/samba/4.x.nix | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/ntdb/default.nix b/pkgs/development/libraries/ntdb/default.nix index 0c67a194f58b..653f07bd716b 100644 --- a/pkgs/development/libraries/ntdb/default.nix +++ b/pkgs/development/libraries/ntdb/default.nix @@ -6,7 +6,10 @@ stdenv.mkDerivation rec { name = "ntdb-1.0"; src = fetchurl { - url = "http://samba.org/ftp/tdb/${name}.tar.gz"; + urls = [ + "http://samba.org/ftp/tdb/${name}.tar.gz" + "http://ftp.riken.jp/net/samba/tdb/${name}.tar.gz" + ]; sha256 = "0jdzgrz5sr25k83yrw7wqb3r0yj1v04z4s3lhsmnr5z6n5ifhyl1"; }; diff --git a/pkgs/development/libraries/tdb/default.nix b/pkgs/development/libraries/tdb/default.nix index b7ddd6e819d2..778cf8a8d7b7 100644 --- a/pkgs/development/libraries/tdb/default.nix +++ b/pkgs/development/libraries/tdb/default.nix @@ -6,7 +6,10 @@ stdenv.mkDerivation rec { name = "tdb-1.3.4"; src = fetchurl { - url = "http://samba.org/ftp/tdb/${name}.tar.gz"; + urls = [ + "http://samba.org/ftp/tdb/${name}.tar.gz" + "http://distfiles.exherbo.org/distfiles/${name}.tar.gz" + ]; sha256 = "0a8pa4ar7dxkbsgv1447av2rn35a1m6l1v2s9hgz3ccwni9wv1gm"; }; diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix index 5373b4dd76f0..4857ecdbafea 100644 --- a/pkgs/servers/samba/4.x.nix +++ b/pkgs/servers/samba/4.x.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { src = fetchurl { urls = [ "http://samba.org/samba/ftp/stable/${name}.tar.gz" - "http://pkgs.fedoraproject.org/repo/pkgs/samba/${name}.tar.gz" + "http://distfiles.exherbo.org/distfiles/${name}.tar.gz" ]; sha256 = "1ficvglapxcw4zrgwkmmjbprsqrxks3ii29nblsr4wlrram4p8ay"; };