diff --git a/pkgs/development/tools/build-managers/bazel/cpp-test.nix b/pkgs/development/tools/build-managers/bazel/cpp-test.nix index e1748042d137..e5ad6bc2a41c 100644 --- a/pkgs/development/tools/build-managers/bazel/cpp-test.nix +++ b/pkgs/development/tools/build-managers/bazel/cpp-test.nix @@ -10,9 +10,7 @@ runLocal, runtimeShell, writeScript, - writeText, distDir, - Foundation ? null, }: let @@ -58,10 +56,6 @@ let + lib.optionalString (stdenv.hostPlatform.isDarwin) '' --cxxopt=-x --cxxopt=c++ --host_cxxopt=-x --host_cxxopt=c++ \ --linkopt=-stdlib=libc++ --host_linkopt=-stdlib=libc++ \ - '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && Foundation != null) '' - --linkopt=-Wl,-F${Foundation}/Library/Frameworks \ - --linkopt=-L${darwin.libobjc}/lib \ ''; };