about summary refs log tree commit diff
path: root/tvix/castore/build.rs
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2024-08-19T11·42+0300
committerIlan Joselevich <personal@ilanjoselevich.com>2024-08-19T16·56+0000
commit73e16c18552d0bd6866fad7e8f87fb74faeca1e4 (patch)
treefa0270a12730bba3c13b79d63b636eff48aa83b8 /tvix/castore/build.rs
parentbc967c538d61c2dbf7a321c95062a215484fa946 (diff)
feat(tvix): drop usage of sparseTree in favor of lib.sourceByRegex r/8538
We can avoid depending on things outside //tvix by just using a similar
util from nixpkgs.

Change-Id: I9ea3e1f0a8a059ea10caaec173569ba9f316aec6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12247
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/castore/build.rs')
-rw-r--r--tvix/castore/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/castore/build.rs b/tvix/castore/build.rs
index 98e2ab348528..a4591c845509 100644
--- a/tvix/castore/build.rs
+++ b/tvix/castore/build.rs
@@ -26,7 +26,7 @@ fn main() -> Result<()> {
             ],
             // If we are in running `cargo build` manually, using `../..` works fine,
             // but in case we run inside a nix build, we need to instead point PROTO_ROOT
-            // to a sparseTree containing that structure.
+            // to a custom tree containing that structure.
             &[match std::env::var_os("PROTO_ROOT") {
                 Some(proto_root) => proto_root.to_str().unwrap().to_owned(),
                 None => "../..".to_string(),