forked from mirrors/nixpkgs
a0159dee8e
URLs to http://nix.cs.uu.nl/dist/tarballs. With content-addressable mirror support (r9190, NIXPKGS-70) this is no longer necessary: fetchurl will try to download from that location automatically. So we can keep the original URLs. svn path=/nixpkgs/trunk/; revision=9192
14 lines
475 B
Nix
14 lines
475 B
Nix
{stdenv, fetchurl, noSysDirs, cross}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "binutils-2.16.1";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://ftp.nluug.nl/gnu/binutils/binutils-2.16.1.tar.bz2;
|
|
md5 = "6a9d529efb285071dad10e1f3d2b2967";
|
|
};
|
|
inherit noSysDirs;
|
|
#configureFlags = if cross=="arm-linux" then "--target=arm-linux" else if cross=="mips-linux" then "--target=mips-linux" else if cross=="sparc-linux" then "--target=sparc-linux";
|
|
inherit cross;
|
|
}
|