From 5e2b44b4161dba88dfd34f3cd649f592c304ae5b Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 9 Oct 2022 22:57:21 -0400 Subject: feat(tvix/eval): Add a struct implementing NIX_PATH Add a simple struct implementing both the string parsing and path resolution rules of Nix's `NIX_PATH` environment variable, for use in resolving `<...>`-style paths Change-Id: Ife75f39aa5c12928278d81fe428fbadc98bac5cc Reviewed-on: https://cl.tvl.fyi/c/depot/+/6917 Autosubmit: grfn Reviewed-by: tazjin Reviewed-by: Adam Joseph Tested-by: BuildkiteCI --- tvix/eval/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tvix/eval/src/lib.rs') diff --git a/tvix/eval/src/lib.rs b/tvix/eval/src/lib.rs index b4ffd25854ce..3c4fe26cd478 100644 --- a/tvix/eval/src/lib.rs +++ b/tvix/eval/src/lib.rs @@ -12,6 +12,7 @@ mod value; mod vm; mod warnings; +mod nix_path; #[cfg(test)] mod properties; #[cfg(test)] -- cgit 1.4.1