about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/eval/src/tests/nix_tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/nix_tests.rs b/tvix/eval/src/tests/nix_tests.rs
index e2c1bcd45553..17968e4bdb09 100644
--- a/tvix/eval/src/tests/nix_tests.rs
+++ b/tvix/eval/src/tests/nix_tests.rs
@@ -35,6 +35,7 @@ mod mock_builtins {
     }
 }
 
+#[cfg(feature = "impure")]
 fn eval_test(code_path: PathBuf, expect_success: bool) {
     std::env::set_var("TEST_VAR", "foo"); // for eval-okay-getenv.nix