cba3104ae8
"nix-env -i binutils gcc" will do the Right Thing and not give a collision. svn path=/nixpkgs/trunk/; revision=8624
21 lines
589 B
Nix
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";
|
|
};
|
|
}
|