install_name_tool: remove

cctools provides install_name_tool
This commit is contained in:
Matthew Bauer 2017-04-09 04:22:44 -05:00
parent 5eb75ce205
commit a78af29ae7
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3
3 changed files with 1 additions and 33 deletions

View File

@ -1,29 +0,0 @@
{ stdenv }:
assert stdenv.isDarwin;
stdenv.mkDerivation {
name = "install_name_tool";
src = "/usr/bin/install_name_tool";
unpackPhase = "true";
dontBuild = true;
installPhase = ''
mkdir -p "$out"/bin
ln -s "$src" "$out"/bin
'';
meta = with stdenv.lib; {
description = "Change dynamic shared library install names";
homepage = https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/install_name_tool.1.html;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.darwin;
longDescription = ''
Install_name_tool changes the dynamic shared library install names and or
adds, changes or deletes the rpaths recorded in a Mach-O binary.
'';
};
}

View File

@ -547,8 +547,6 @@ with pkgs;
reattach-to-user-namespace = callPackage ../os-specific/darwin/reattach-to-user-namespace {};
install_name_tool = callPackage ../os-specific/darwin/install_name_tool { };
xcodeenv = callPackage ../development/mobile/xcodeenv { };
titaniumenv = callPackage ../development/mobile/titaniumenv {

View File

@ -28918,8 +28918,7 @@ EOF
};
propagatedBuildInputs = with self; [ cffi ];
buildInputs = [ pkgs.libspotify ]
++ stdenv.lib.optional stdenv.isDarwin pkgs.install_name_tool;
buildInputs = [ pkgs.libspotify ];
# python zip complains about old timestamps
preConfigure = ''