From 8f4dea27a6561a30e4044d532a76e716c6cbf75b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 5 Jul 2020 20:05:02 +0100 Subject: chore(3p/nix/libstore): Link to nixproto library This isn't actually used yet, but forces the protos to be included in the build which is useful for iteration. Change-Id: I2abcaf297f34ae741f00ad0c929b226d5603c9d7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/928 Tested-by: BuildkiteCI Reviewed-by: isomer --- third_party/nix/src/libstore/CMakeLists.txt | 1 + third_party/nix/src/nix-daemon/nix-daemon.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/third_party/nix/src/libstore/CMakeLists.txt b/third_party/nix/src/libstore/CMakeLists.txt index 4bc7b8fd5db2..705be9574d2f 100644 --- a/third_party/nix/src/libstore/CMakeLists.txt +++ b/third_party/nix/src/libstore/CMakeLists.txt @@ -88,6 +88,7 @@ target_sources(nixstore ) target_link_libraries(nixstore + nixproto nixutil BZip2::BZip2 diff --git a/third_party/nix/src/nix-daemon/nix-daemon.cc b/third_party/nix/src/nix-daemon/nix-daemon.cc index b2161f8584db..c7967307c1ba 100644 --- a/third_party/nix/src/nix-daemon/nix-daemon.cc +++ b/third_party/nix/src/nix-daemon/nix-daemon.cc @@ -27,6 +27,7 @@ #include "libutil/serialise.hh" #include "libutil/util.hh" #include "nix/legacy.hh" +#include "libproto/worker.pb.h" using namespace nix; -- cgit 1.4.1