From 0ce09afcfa092e5ddb462023d0cbc9424a70c4b6 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sat, 21 Oct 2017 18:21:52 +0300 Subject: [PATCH] bazel_0_4: additonal fix for Darwin --- pkgs/development/tools/build-managers/bazel/0.4.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/build-managers/bazel/0.4.nix b/pkgs/development/tools/build-managers/bazel/0.4.nix index 870882a84ccc..f8c1f01d4464 100644 --- a/pkgs/development/tools/build-managers/bazel/0.4.nix +++ b/pkgs/development/tools/build-managers/bazel/0.4.nix @@ -44,6 +44,8 @@ stdenv.mkDerivation rec { src/tools/xcode/realpath/BUILD \ src/tools/xcode/stdredirect/BUILD \ src/tools/xcode/xcrunwrapper/xcrunwrapper.sh + sed -i 's,/usr/bin/xcrun "''${TOOLNAME}","''${TOOLNAME}",g' \ + src/tools/xcode/xcrunwrapper/xcrunwrapper.sh sed -i 's/"xcrun", "clang"/"clang"/g' tools/osx/xcode_configure.bzl '';