diff options
-rw-r--r-- | tvix/eval/src/io.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tvix/eval/src/io.rs b/tvix/eval/src/io.rs index d20912f21f61..8268b5990d57 100644 --- a/tvix/eval/src/io.rs +++ b/tvix/eval/src/io.rs @@ -15,11 +15,12 @@ //! In the context of Nix builds, callers also use this interface to determine //! how store paths are opened and so on. +use crate::errors::ErrorKind; use smol_str::SmolStr; use std::path::{Path, PathBuf}; -use std::rc::Rc; -use crate::errors::ErrorKind; +#[cfg(feature = "impure")] +use std::rc::Rc; /// Types of files as represented by `builtins.readDir` in Nix. #[derive(Debug)] |