about summary refs log tree commit diff
path: root/tvix/eval/tests/nix_oracle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/tests/nix_oracle.rs')
-rw-r--r--tvix/eval/tests/nix_oracle.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tvix/eval/tests/nix_oracle.rs b/tvix/eval/tests/nix_oracle.rs
index e8bd004f1d14..b777d289e03b 100644
--- a/tvix/eval/tests/nix_oracle.rs
+++ b/tvix/eval/tests/nix_oracle.rs
@@ -3,7 +3,6 @@
 use std::{env, path::PathBuf, process::Command};
 
 use pretty_assertions::assert_eq;
-use tempdir::TempDir;
 
 fn nix_binary_path() -> PathBuf {
     env::var("NIX_INSTANTIATE_BINARY_PATH")
@@ -18,7 +17,7 @@ enum Strictness {
 }
 
 fn nix_eval(expr: &str, strictness: Strictness) -> String {
-    let store_dir = TempDir::new("store-dir").unwrap();
+    let store_dir = tempfile::tempdir().unwrap();
 
     let mut args = match strictness {
         Strictness::Lazy => vec![],