about summary refs log tree commit diff
path: root/tvix/store/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/build.rs')
-rw-r--r--tvix/store/build.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tvix/store/build.rs b/tvix/store/build.rs
index a021dc328af6..9a7356f84eec 100644
--- a/tvix/store/build.rs
+++ b/tvix/store/build.rs
@@ -15,6 +15,7 @@ fn main() -> Result<()> {
     // https://github.com/hyperium/tonic/issues/908
     let mut config = prost_build::Config::new();
     config.bytes(["."]);
+    config.extern_path(".tvix.castore.v1", "::tvix_castore::proto");
 
     builder
         .build_server(true)
@@ -22,10 +23,7 @@ fn main() -> Result<()> {
         .compile_with_config(
             config,
             &[
-                "tvix/store/protos/castore.proto",
                 "tvix/store/protos/pathinfo.proto",
-                "tvix/store/protos/rpc_blobstore.proto",
-                "tvix/store/protos/rpc_directory.proto",
                 "tvix/store/protos/rpc_pathinfo.proto",
             ],
             // If we are in running `cargo build` manually, using `../..` works fine,