From 6fb542aae6c52b70f4e8b2f92c629bf7a48182d1 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 26 May 2024 20:19:35 +0200 Subject: fix(tvix/eval/nix_search_path): gate tests on impure feature These use StdIO, which is only available if the impure feature is enabled. Change-Id: I18d8e191a7eba6ba5bd59f43631973eaa796c7bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/11721 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: tazjin --- tvix/eval/src/nix_search_path.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tvix/eval/src/nix_search_path.rs') diff --git a/tvix/eval/src/nix_search_path.rs b/tvix/eval/src/nix_search_path.rs index 566ca122384b..369c5b6857ba 100644 --- a/tvix/eval/src/nix_search_path.rs +++ b/tvix/eval/src/nix_search_path.rs @@ -197,6 +197,8 @@ mod tests { } } + // this uses StdIO, which is only available with the impure feature. + #[cfg(feature = "impure")] mod resolve { use crate::StdIO; use path_clean::PathClean; -- cgit 1.4.1