ibtool: add to toolchain
- init package - add into xcbuild/toolchain.nix
This commit is contained in:
parent
38fa991064
commit
34422f428d
@ -1,6 +1,7 @@
|
|||||||
{stdenv, writeText, toolchainName, xcbuild, fetchurl
|
{stdenv, writeText, toolchainName, xcbuild, fetchurl
|
||||||
, llvm, cctools, gcc, bootstrap_cmds, binutils
|
, llvm, cctools, gcc, bootstrap_cmds, binutils
|
||||||
, yacc, flex, m4, unifdef, gperf, indent, ctags, makeWrapper}:
|
, yacc, flex, m4, unifdef, gperf, indent, ctags, makeWrapper
|
||||||
|
, ibtool}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -89,6 +90,8 @@ stdenv.mkDerivation {
|
|||||||
ln -s ${cctools}/bin/pagestuff
|
ln -s ${cctools}/bin/pagestuff
|
||||||
ln -s ${cctools}/bin/ranlib
|
ln -s ${cctools}/bin/ranlib
|
||||||
ln -s ${cctools}/bin/redo_prebinding
|
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
|
# No point including the entire gcc closure if we don't already have it
|
||||||
(if stdenv.cc.isClang then ''
|
(if stdenv.cc.isClang then ''
|
||||||
|
20
pkgs/os-specific/darwin/ibtool/default.nix
Normal file
20
pkgs/os-specific/darwin/ibtool/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ stdenv }:
|
||||||
|
|
||||||
|
assert stdenv.isDarwin;
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ibtool";
|
||||||
|
src = "/usr/bin/ibtool";
|
||||||
|
|
||||||
|
unpackPhase = "true";
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p "$out"/bin
|
||||||
|
ln -s "$src" "$out"/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
platforms = platforms.darwin;
|
||||||
|
};
|
||||||
|
}
|
@ -18407,4 +18407,6 @@ with pkgs;
|
|||||||
ghc-standalone-archive = callPackage ../os-specific/darwin/ghc-standalone-archive { inherit (darwin) cctools; };
|
ghc-standalone-archive = callPackage ../os-specific/darwin/ghc-standalone-archive { inherit (darwin) cctools; };
|
||||||
|
|
||||||
messenger-for-desktop = callPackage ../applications/networking/instant-messengers/messenger-for-desktop {};
|
messenger-for-desktop = callPackage ../applications/networking/instant-messengers/messenger-for-desktop {};
|
||||||
|
|
||||||
|
ibtool = callPackage ../os-specific/darwin/ibtool {};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user