Skip to content

Commit

Permalink
eval-cache: update note
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
sandydoo committed Jan 29, 2025
1 parent ee1b50e commit 40d21d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions devenv/src/devenv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -871,15 +871,14 @@ impl Devenv {

use devenv_eval_cache::command::{FileInputDesc, Input};
fs::write(
// TODO: update direnvrc to use this
self.devenv_dotfile.join("input-paths.txt"),
env.inputs
.iter()
.filter_map(|input| match input {
Input::File(FileInputDesc { path, .. }) => {
Some(path.to_string_lossy().to_string())
}
// TODO: update direnvrc to handle env vars
// TODO(sander): update direnvrc to handle env vars if possible
_ => None,
})
.collect::<Vec<_>>()
Expand Down

0 comments on commit 40d21d0

Please sign in to comment.