diff --git a/CHANGELOG.md b/CHANGELOG.md index 0551936..8be951c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add a `--substitute-on-destination` argument. - Add the `meta.nodeSpecialArgs` meta option. +### Fixed + +- Fix invalidated caches not actually returning `None`. + ## [v1.0.0] - 2025-12-17 ### Added diff --git a/crates/core/src/cache/mod.rs b/crates/core/src/cache/mod.rs index 3f787be..70c9016 100644 --- a/crates/core/src/cache/mod.rs +++ b/crates/core/src/cache/mod.rs @@ -115,6 +115,7 @@ impl InspectionCache { // atleast once if Self::cache_invalid(&cached_blob.store_path) { trace!("discarding cache that does not exist in the nix store"); + return None; } trace!(