about summary refs log tree commit diff
path: root/tvix/cli/src/lib.rs
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2024-08-10T19·13-0400
committerclbot <clbot@tvl.fyi>2024-08-11T01·12+0000
commitf5c6acbbeb21ae36255ff03015d94000d4fc0030 (patch)
treec3f867845544052cc4ab52a18a78a992c53742de /tvix/cli/src/lib.rs
parent7c2ac040dbb93b3cb3cacadd144709cf2866bbb5 (diff)
fix(tvix/cli): always configure nix path r/8476
Configure the nix path even if globals is already set.

Change-Id: I6598c92ab40ff952f73da04d9e7d3aeb13c16b53
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12176
Tested-by: BuildkiteCI
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Diffstat (limited to 'tvix/cli/src/lib.rs')
-rw-r--r--tvix/cli/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/cli/src/lib.rs b/tvix/cli/src/lib.rs
index 2351da13a771..060665480f1e 100644
--- a/tvix/cli/src/lib.rs
+++ b/tvix/cli/src/lib.rs
@@ -113,9 +113,9 @@ pub fn evaluate(
             eval_builder = add_derivation_builtins(eval_builder, Rc::clone(&tvix_store_io));
             eval_builder = add_fetcher_builtins(eval_builder, Rc::clone(&tvix_store_io));
             eval_builder = add_import_builtins(eval_builder, tvix_store_io);
-            eval_builder = configure_nix_path(eval_builder, &args.nix_search_path);
         }
     };
+    eval_builder = configure_nix_path(eval_builder, &args.nix_search_path);
 
     if let Some(source_map) = source_map {
         eval_builder = eval_builder.with_source_map(source_map);