nixpkgs-suyu/pkgs/development/tools/build-managers/bazel
Wael Nasreddine c49b7f64d1
bazel: fix the compilation of .proto on Darwin (#63879)
On Darwin, the last argument to GCC is coming up as an empty string.
This is breaking the build of proto_library targets. However, I was not
able to reproduce with the example cpp project[0].

This commit patches the cc_wrapper of Bazel that gets installed on
Darwin to remove the last argument if it's an empty string. This is
not a probem on Linux.

[0]: https://github.com/bazelbuild/examples/tree/master/cpp-tutorial/stage3
2019-06-29 11:07:21 -07:00
..
bazel-deps bazel-deps: 2018-11-01 -> 2019-02-01 2019-02-01 17:30:36 +11:00
bazel-remote treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
buildtools bazel-buildtools: unstable -> 0.22.0 2019-03-07 20:37:23 -08:00
0.4.nix
bash-tools-test.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
cpp-test.nix bazel: fix the compilation of .proto on Darwin (#63879) 2019-06-29 11:07:21 -07:00
default.nix bazel: fix the compilation of .proto on Darwin (#63879) 2019-06-29 11:07:21 -07:00
nix-hacks-0.4.patch
nix-hacks.patch bazel: fix nix-hacks.patch with the latest version of Bazel (#63052) 2019-06-13 16:12:37 +02:00
protobuf-test.nix bazel: fix the compilation of .proto on Darwin (#63879) 2019-06-29 11:07:21 -07:00
python-bin-path-test.nix bazel: fix the compilation of .proto on Darwin (#63879) 2019-06-29 11:07:21 -07:00
python-stub-path-fix.patch
src-deps.json bazel: 0.26.1 -> 0.27.0 2019-06-22 21:46:50 +02:00
trim-last-argument-to-gcc-if-empty.patch bazel: fix the compilation of .proto on Darwin (#63879) 2019-06-29 11:07:21 -07:00
update-srcDeps.py bazel: add update script to update srcDeps from WORKSPACE file 2019-06-18 17:47:01 +02:00