diff --git a/magic-nix-cache/src/util.rs b/magic-nix-cache/src/util.rs index e22d531..2c7e759 100644 --- a/magic-nix-cache/src/util.rs +++ b/magic-nix-cache/src/util.rs @@ -30,13 +30,8 @@ pub async fn get_store_paths(store: &NixStore) -> Result> { } if let Some(s) = file_name.to_str() { - // Let's not push any sources - if s.ends_with("-source") { - continue; - } - // Special paths (so far only `.links`) - if s.starts_with(".links") { + if s == ".links" { continue; } }