daml/nix/tools
Andreas Herrmann 1b711d0ac6
Hermetic nixpkgs_cc_toolchain (#5976)
* 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>
2020-05-18 18:03:51 +02:00
..
bats open-sourcing daml 2019-04-04 09:33:38 +01:00
bazel-cc-toolchain Hermetic nixpkgs_cc_toolchain (#5976) 2020-05-18 18:03:51 +02:00
dade-test-sh open-sourcing daml 2019-04-04 09:33:38 +01:00
dependency-check open-sourcing daml 2019-04-04 09:33:38 +01:00
jfrog-cli open-sourcing daml 2019-04-04 09:33:38 +01:00
license-checker open-sourcing daml 2019-04-04 09:33:38 +01:00
live-server open-sourcing daml 2019-04-04 09:33:38 +01:00
nix-store-gcs-proxy update all references of old repo to new repo 2019-04-04 16:20:07 +02:00
osht open-sourcing daml 2019-04-04 09:33:38 +01:00
pipenv fix docs live-preview.sh script (#3789) 2019-12-10 18:25:39 +01:00
python36 replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
semver-tool open-sourcing daml 2019-04-04 09:33:38 +01:00
sphinx-autobuild remove unused nix file (#3831) 2019-12-13 11:43:50 +01:00
zinc open-sourcing daml 2019-04-04 09:33:38 +01:00