mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
1b711d0ac6
* update rules_nixpkgs * Use hermetic nixpkgs cc toolchain CHANGELOG_BEGIN CHANGELOG_END * Work around Bazel's cc toolchain autodetection * Use --crosstool_top for hermetic cc toolchain When using --incompatible_enable_cc_toolchain_resolution instead cc actions still depend on `external/local_config_cc/builtin_include_directory_paths` as well as `external/nixpkgs_cc_toolchain_config/builtin_include_directory_paths`. * override local_config_cc * remove unused attribute * Fix posix toolchain on Windows * nixpkgs cc toolchain not on Windows * Fix nixpkgs cc toolchain on MacOS * nixpkgs cc toolchain uses bin/cc * Use darwin.binutils on MacOS * Remove clang(++) and gcc (g++) symlinks The toolchain only considers `bin/cc` and having the other symlinks around could lead to confusion * Use hermetic toolchain in compatibility workspace * Avoid empty linker flags Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2 lines
43 B
Nix
2 lines
43 B
Nix
(import ./bazel.nix {}).bazel-cc-toolchain
|