My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/tools/misc/binutils/default.nix

21 lines
600 B

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