ibtool: add to toolchain

- init package
- add into xcbuild/toolchain.nix
This commit is contained in:
Matthew Bauer
2017-04-09 04:27:21 -05:00
parent 38fa991064
commit 34422f428d
3 changed files with 26 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
{stdenv, writeText, toolchainName, xcbuild, fetchurl
, llvm, cctools, gcc, bootstrap_cmds, binutils
, yacc, flex, m4, unifdef, gperf, indent, ctags, makeWrapper}:
, yacc, flex, m4, unifdef, gperf, indent, ctags, makeWrapper
, ibtool}:
let
@@ -89,6 +90,8 @@ stdenv.mkDerivation {
ln -s ${cctools}/bin/pagestuff
ln -s ${cctools}/bin/ranlib
ln -s ${cctools}/bin/redo_prebinding
ln -s ${ibtool}/bin/ibtool
'' +
# No point including the entire gcc closure if we don't already have it
(if stdenv.cc.isClang then ''