diff options
author | Florian Klink <flokli@flokli.de> | 2024-05-26T18·19+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-05-26T19·53+0000 |
commit | 6fb542aae6c52b70f4e8b2f92c629bf7a48182d1 (patch) | |
tree | dcda2f7375f5a1e918aa939e7246f9cfb8e0c292 /tvix/eval | |
parent | db68c104afd9f9ccbf1380974307e3d796015d20 (diff) |
fix(tvix/eval/nix_search_path): gate tests on impure feature r/8176
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 <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval')
-rw-r--r-- | tvix/eval/src/nix_search_path.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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; |