diff --git a/nix-actions-cache/src/util.rs b/nix-actions-cache/src/util.rs index 40c3b5b..127560a 100644 --- a/nix-actions-cache/src/util.rs +++ b/nix-actions-cache/src/util.rs @@ -31,6 +31,11 @@ pub async fn get_store_paths() -> Result> { if s.ends_with("-source") { continue; } + + // Special paths (so far only `.links`) + if s.starts_with(".") { + continue; + } } paths.insert(store_dir.join(file_name));