tvl-depot/third_party/nix/src
Vincent Ambo 0064e55486 feat(3p/nix): Add protobuf & gRPC dependencies and generate sources
Adds dependencies on the gRPC & protobuf libraries, and implements Nix
code to generate the C++ sources from the included proto definitions.

This is theoretically supported via CMake, but practically doesn't
work and I don't care to debug why.

Doing it like this lets us instead add a CMake library target for our
proto definitions based on the sources generated by Nix.

Pros:
  * no need to deal with the gRPC CMake mess
  * it works!

Cons: * iteration requires nix-shell restart
Change-Id: Ie1fe9807fc96c49cb8f7161ba59d093456062b15
Reviewed-on: https://cl.tvl.fyi/c/depot/+/927
Tested-by: BuildkiteCI
Reviewed-by: isomer <isomer@tvl.fyi>
2020-07-05 19:17:12 +00:00
..
build-remote refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
cpptoml style(3p/nix): Remove 'using std::*' from types.hh 2020-05-24 22:29:21 +01:00
libexpr chore(3p/nix/libexpr): Remove dead code from attribute sets 2020-07-04 03:12:16 +00:00
libmain feat(3p/nix): install pkgconfig files for libexpr, libmain and libstore 2020-06-21 20:42:28 +00:00
libstore feat(3p/nix): install pkgconfig files for libexpr, libmain and libstore 2020-06-21 20:42:28 +00:00
libutil fix(3p/nix): fix readTree by fixing readDir by deleting some code 2020-06-22 01:12:53 +00:00
nix chore(3p/nix): Clean up leftover Meson file 2020-05-30 23:30:46 +01:00
nix-build refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-channel refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-collect-garbage refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-copy-closure refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-daemon refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-env refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-instantiate refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-prefetch-url refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-store refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nlohmann Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
proto feat(3p/nix): Add protobuf & gRPC dependencies and generate sources 2020-07-05 19:17:12 +00:00
CMakeLists.txt feat(3p/nix): Add protobuf & gRPC dependencies and generate sources 2020-07-05 19:17:12 +00:00