From 80e09678f7f0957d27bebf8d6d933303e5dab3ca Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Mon, 24 Aug 2015 18:57:06 -0700 Subject: [PATCH] darwin: use system dyld see https://github.com/NixOS/nixpkgs/issues/9432 --- pkgs/build-support/cc-wrapper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 8965fc6bef0..9822b1a026a 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -244,7 +244,7 @@ stdenv.mkDerivation { if stdenv.isArm then "ld-linux*.so.3" else if stdenv.system == "powerpc-linux" then "ld.so.1" else if stdenv.system == "mips64el-linux" then "ld.so.1" else - if stdenv.system == "x86_64-darwin" then "${dyld}/lib/dyld" else + if stdenv.system == "x86_64-darwin" then "/usr/lib/dyld" else abort "Don't know the name of the dynamic linker for this platform.") else "";