From 5e712f047dae4995b91f82009991e7200cbcb383 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Thu, 3 Dec 2020 10:50:58 +0100 Subject: [PATCH] bazel: Mark as broken on darwin Fails with ``` 0 0x103e67a51 __assert_rtn + 129 1 0x104040444 ld::passes::stubs::x86_64::classic::LazyPointerAtom::LazyPointerAtom(ld::passes::stubs::Pass&, ld::Atom const&, bool, bool) + 420 2 0x10403dc6a ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 2762 3 0x10403ec5f ld::passes::stubs::Pass::process(ld::Internal&) + 2511 4 0x10403f2c0 ld::passes::stubs::doPass(Options const&, ld::Internal&) + 128 5 0x103e68ff4 main + 1860 6 0x7fff68dc3cc9 start + 1 A linker snapshot was created at: /tmp/ijar-2020-11-01-111228.ld-snapshot ld: Assertion failed: (targetAtom != NULL), function Fixup, file ../../../../ld64/src/ld/ld.hpp, line 776. clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation) ``` See #105573 for details. --- .../development/tools/build-managers/bazel/bazel_3/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix index b73beddf23a84..3b522571e06bd 100644 --- a/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix +++ b/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix @@ -164,6 +164,9 @@ stdenv.mkDerivation rec { description = "Build tool that builds code quickly and reliably"; license = licenses.asl20; maintainers = [ maintainers.mboes ]; + # fails on darwin with ld: Assertion failed: (targetAtom != NULL), + # remove once https://github.com/NixOS/nixpkgs/issues/105573 is resolved + broken = stdenv.isDarwin; inherit platforms; };