mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
edd57d380d
- Fixes the IPC bug - Fixes the terminfo bug - Moves the OSX SDK out of our nixcrpkgs fork. - Vendor nixcrpkgs instead of having it be a submodule.
27 lines
559 B
Nix
27 lines
559 B
Nix
{ native, host }:
|
|
|
|
native.make_derivation rec {
|
|
name = "binutils-${version}-${host}";
|
|
|
|
version = "2.27";
|
|
|
|
src = native.nixpkgs.fetchurl {
|
|
url = "mirror://gnu/binutils/binutils-${version}.tar.bz2";
|
|
sha256 = "125clslv17xh1sab74343fg6v31msavpmaa1c1394zsqa773g5rn";
|
|
};
|
|
|
|
patches = [
|
|
./deterministic.patch
|
|
];
|
|
|
|
native_inputs = [ native.nixpkgs.bison native.nixpkgs.zlib ];
|
|
|
|
configure_flags =
|
|
"--target=${host} " +
|
|
"--enable-shared " +
|
|
"--enable-deterministic-archives " +
|
|
"--disable-werror ";
|
|
|
|
builder = ./builder.sh;
|
|
}
|