diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-08-27 12:44:01 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-08-27 12:44:01 +0000 |
commit | 45a2c87402c70f14cd6b4505e7b9c6f1872fb546 (patch) | |
tree | 6504fc4bd01d91f50182a3a37be6e85ecd78e83c /pkgs/tools/networking | |
parent | 6d4fa01f1e681be36f3122b2359b953a8e41ccc7 (diff) | |
download | nixlib-45a2c87402c70f14cd6b4505e7b9c6f1872fb546.tar nixlib-45a2c87402c70f14cd6b4505e7b9c6f1872fb546.tar.gz nixlib-45a2c87402c70f14cd6b4505e7b9c6f1872fb546.tar.bz2 nixlib-45a2c87402c70f14cd6b4505e7b9c6f1872fb546.tar.lz nixlib-45a2c87402c70f14cd6b4505e7b9c6f1872fb546.tar.xz nixlib-45a2c87402c70f14cd6b4505e7b9c6f1872fb546.tar.zst nixlib-45a2c87402c70f14cd6b4505e7b9c6f1872fb546.zip |
* Support for mirror:// URLs a la Gentoo (NIXPKGS-70). Instead of
fetchurl { url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.9.6.tar.bz2; md5 = "8306775c6a11de4d72345b5eee970ea6"; }; you can write fetchurl { url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2; md5 = "8306775c6a11de4d72345b5eee970ea6"; }; which causes fetchurl to try the SourceForge mirrors listed in the `sourceforge' attribute in build-support/fetchurl/mirrors.nix. (They're currently tried in sequence, and the lists of mirrors are not configurable yet.) The syntax for mirror URLs is mirror://site/path/to/file, where `site' is currently one of `sourceforge', `gnu' (mirrors of ftp://ftp.gnu.org/pub/gnu) and `kernel' (mirrors of http://www.all.kernel.org/pub/). svn path=/nixpkgs/trunk/; revision=9197
Diffstat (limited to 'pkgs/tools/networking')
0 files changed, 0 insertions, 0 deletions