From 008b53738521d8629ad4c3f1852e70e251adef17 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 14 May 2024 13:32:14 -0700 Subject: [PATCH] Don't skip -source when diffing store --- magic-nix-cache/src/util.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; } }