Commit graph

5 commits

Author SHA1 Message Date
Eelco Dolstra 45a2c87402 * 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
2007-08-27 12:44:01 +00:00
Eelco Dolstra aa983025d6 * Linux 2.6.21.7.
svn path=/nixpkgs/trunk/; revision=9176
2007-08-20 14:26:32 +00:00
Eelco Dolstra 7685d56072 * Linux 2.6.21.5.
svn path=/nixpkgs/trunk/; revision=8870
2007-06-12 12:25:01 +00:00
Eelco Dolstra 1da5e7fd89 * Grmbl.
svn path=/nixpkgs/trunk/; revision=8833
2007-06-05 13:18:23 +00:00
Eelco Dolstra e954f7ef8b * Linux 2.6.21.3.
svn path=/nixpkgs/trunk/; revision=8811
2007-05-31 13:32:22 +00:00