diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-08-23 15:22:30 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-08-23 15:22:30 +0000 |
commit | 50321b735be9e326dd5b2ab4cc69ae1971ac9594 (patch) | |
tree | afe0dbb47355cbc3ddb5510adfe30dbc39f3460b /pkgs/os-specific/linux/procps | |
parent | ec9d5c94715feb00c522e81c2f9ceef92ed505fb (diff) | |
download | nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.gz nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.bz2 nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.lz nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.xz nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.tar.zst nixpkgs-50321b735be9e326dd5b2ab4cc69ae1971ac9594.zip |
* Basic transparent mirror support in fetchurl (NIXPKGS-70). When
fetching a file with hash HASH of type TYPE, we first try to download <base-url>/<type>/<hash>, where <base-url> is one of a list of mirrors. For instance, given src = fetchurl { url = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.6/source/firefox-2.0.0.6-source.tar.bz2; sha1 = "eb72f55e4a8bf08e8c6ef227c0ade3d068ba1082"; }; and the mirror list [http://nix.cs.uu.nl/dist/tarballs], we first try to download http://nix.cs.uu.nl/dist/tarballs/sha1/eb72f55e4a8bf08e8c6ef227c0ade3d068ba1082 and if that fails, we use the original URL. The list of mirrors is not yet user-configurable. * `fetchurl' now also accepts an argument `urls' instead of `url' for a list of alternative download locations, which fetchurl will try in sequence. svn path=/nixpkgs/trunk/; revision=9190
Diffstat (limited to 'pkgs/os-specific/linux/procps')
0 files changed, 0 insertions, 0 deletions