forked from mirrors/nixpkgs
php{53,54}: fetch from generic URL
I see no reason to download from a pre-specified mirror. It didn't even work for me.
This commit is contained in:
parent
74cd7cb3c8
commit
dc215c2988
|
@ -228,7 +228,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
|||
'' );
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nl1.php.net/get/php-${version}.tar.bz2/from/this/mirror";
|
||||
url = "http://www.php.net/distributions/php-${version}.tar.bz2";
|
||||
sha256 = "04w53nn6qacpkd1x381mzd41kqh6k8kjnbyg44yvnkqwcl69db0c";
|
||||
name = "php-${version}.tar.bz2";
|
||||
};
|
||||
|
|
|
@ -242,12 +242,8 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
|||
'';
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://nl1.php.net/get/php-${version}.tar.bz2/from/this/mirror"
|
||||
"http://se1.php.net/get/php-${version}.tar.bz2/from/this/mirror"
|
||||
];
|
||||
url = "http://www.php.net/distributions/php-${version}.tar.bz2";
|
||||
sha256 = "19z2n6h1fvj30n6hl2mwhw2f4i1vwhbj3j7abq3gc16gcfh3rkk2";
|
||||
name = "php-${version}.tar.bz2";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue