summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2017-10-06 01:26:19 -0400
committerDan Peebles <pumpkin@me.com>2017-10-08 16:13:46 -0400
commitb426c85ce2f12b81b923bf8d0539d15a41b3a341 (patch)
treef5e463c3cdc9e94fb2484a604594a66c93aec39e /pkgs/os-specific/darwin/apple-source-releases
parent0be2928ac9f8fa7ad2245785e586381ba8002585 (diff)
downloadnixpkgs-b426c85ce2f12b81b923bf8d0539d15a41b3a341.tar
nixpkgs-b426c85ce2f12b81b923bf8d0539d15a41b3a341.tar.gz
nixpkgs-b426c85ce2f12b81b923bf8d0539d15a41b3a341.tar.bz2
nixpkgs-b426c85ce2f12b81b923bf8d0539d15a41b3a341.tar.lz
nixpkgs-b426c85ce2f12b81b923bf8d0539d15a41b3a341.tar.xz
nixpkgs-b426c85ce2f12b81b923bf8d0539d15a41b3a341.tar.zst
nixpkgs-b426c85ce2f12b81b923bf8d0539d15a41b3a341.zip
Get rid of most @rpath nonsense on Darwin
This requires some small changes in the stdenv, then working around the
weird choice LLVM made to hardcode @rpath in its install name, and then
lets us remove a ton of annoying workaround hacks in many of our Go
packages. With any luck this will mean less hackery going forward.
Diffstat (limited to 'pkgs/os-specific/darwin/apple-source-releases')
-rw-r--r--pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix b/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
index caef875ac13..3d7e59f1554 100644
--- a/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
+++ b/pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
@@ -113,7 +113,6 @@ appleDerivation rec {
     install_name_tool \
       -id $out/lib/libresolv.9.dylib \
       -change "$resolv_libSystem" $out/lib/libSystem.dylib \
-      -delete_rpath ${libresolv}/lib \
       $out/lib/libresolv.9.dylib
     ln -s libresolv.9.dylib $out/lib/libresolv.dylib
   '';