Commit graph

7 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 2a804eb95b * Backported the gcc 4.2 patch to 4.1
* Update to gcc 4.1.2.
* Removed some unnecessary stuff from the patch.

svn path=/nixpkgs/trunk/; revision=8739
2007-05-24 13:30:09 +00:00
Eelco Dolstra 59d7cc0cd0 * Maybe libmudflap and libssp work now.
svn path=/nixpkgs/trunk/; revision=8724
2007-05-20 21:21:35 +00:00
Eelco Dolstra 062308aabf * Remove some "fixed" header files.
* Strip the gcc executables.

svn path=/nixpkgs/trunk/; revision=8723
2007-05-20 21:09:49 +00:00
Eelco Dolstra b8dae869b3 * Trying to get gcc 4.2.0 to compile...
* Compute --enable-languages in the Nix expression instead of in the
  builder.
* Pass some flags through the Make command line instead of patching
  the Makefiles.
* gcc: generate code for i686 by default (instead of i386).
* gcc: patch out some references to /lib and /usr/lib.

svn path=/nixpkgs/trunk/; revision=8722
2007-05-20 20:27:55 +00:00
Armijn Hemel 8191ee8927 fix patch, still does not build cleanly
svn path=/nixpkgs/trunk/; revision=8716
2007-05-17 23:37:57 +00:00
Armijn Hemel 15c8486e51 gcc 4.2.0 stubs. untested.
svn path=/nixpkgs/trunk/; revision=8715
2007-05-17 16:27:54 +00:00