python3Packages.tensorflow: fix overrides needed for darwin

This commit is contained in:
Dmitry Kalinkin 2022-12-04 22:49:50 -05:00
parent c9f537cf9b
commit 508b7cb367

View file

@ -168,7 +168,7 @@ let
'';
};
bazel-build = if stdenv.isDarwin then _bazel-build.overrideAttrs (prev: {
bazelBuildFlags = prev.bazelBuildFlags ++ [
bazelFlags = prev.bazelFlags ++ [
"--override_repository=rules_cc=${rules_cc_darwin_patched}"
"--override_repository=llvm-raw=${llvm-raw_darwin_patched}"
];