diff --git a/pkgs/development/libraries/libunwind/native.nix b/pkgs/development/libraries/libunwind/native.nix index 10e552a28103..3220d20495ee 100644 --- a/pkgs/development/libraries/libunwind/native.nix +++ b/pkgs/development/libraries/libunwind/native.nix @@ -6,19 +6,9 @@ stdenv.mkDerivation { unpackPhase = ":"; dontBuild = true; - # TODO: figure out if these are different in Mavericks + older installPhase = '' mkdir -p $out/lib cat ${/usr/lib/system/libunwind.dylib} > $out/lib/libunwind.dylib - /usr/bin/install_name_tool \ - -change /usr/lib/system/libunwind.dylib ${/usr/lib/system/libunwind.dylib} \ - -change /usr/lib/system/libsystem_malloc.dylib ${/usr/lib/system/libsystem_malloc.dylib} \ - -change /usr/lib/system/libsystem_pthread.dylib ${/usr/lib/system/libsystem_pthread.dylib} \ - -change /usr/lib/system/libsystem_platform.dylib ${/usr/lib/system/libsystem_platform.dylib} \ - -change /usr/lib/system/libsystem_c.dylib ${/usr/lib/system/libsystem_c.dylib} \ - -change /usr/lib/system/libdyld.dylib ${/usr/lib/system/libdyld.dylib} \ - -change /usr/lib/system/libkeymgr.dylib ${/usr/lib/system/libkeymgr.dylib} \ - $out/lib/libunwind.dylib ''; meta.platforms = stdenv.lib.platforms.darwin;