nixpkgs/pkgs/development/tools/misc/binutils/default.nix
Eelco Dolstra 3b1aac231b * Binutils 2.18.
svn path=/nixpkgs/branches/stdenv-updates/; revision=9656
2007-11-12 16:17:54 +00:00

21 lines
600 B
Nix

{stdenv, fetchurl, noSysDirs}:
stdenv.mkDerivation {
name = "binutils-2.18";
builder = ./builder.sh;
src = fetchurl {
url = mirror://gnu/binutils/binutils-2.18.tar.bz2;
sha256 = "16zfc7llbjdn69bbdy7kqgg2xa67ypgj7z5qicgwzvghaaj36yj8";
};
inherit noSysDirs;
configureFlags = "--disable-werror"; # needed for dietlibc build
meta = {
description = "Tools for manipulating binaries (linker, assembler, etc.)";
/* Give binutils a lower priority than gcc-wrapper to prevent a
collision due to the ld/as wrappers/symlinks in the latter. */
priority = "10";
};
}