nixpkgs/pkgs/development/tools/misc/binutils/default.nix
Eelco Dolstra cba3104ae8 * Give binutils a lower default priority than the gcc wrapper so that
"nix-env -i binutils gcc" will do the Right Thing and not give a
  collision.

svn path=/nixpkgs/trunk/; revision=8624
2007-04-27 23:30:07 +00:00

21 lines
589 B
Nix

{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";
};
}