nixpkgs/pkgs/development/tools/misc/binutils/default.nix

21 lines
589 B
Nix
Raw Normal View History

{stdenv, fetchurl, noSysDirs}:
stdenv.mkDerivation {
name = "binutils-2.17";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/binutils-2.17.tar.bz2;
md5 = "e26e2e06b6e4bf3acf1dc8688a94c0d1";
};
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";
};
}