Don't skip -source when diffing store

This commit is contained in:
Cole Helbling 2024-05-14 13:32:14 -07:00
parent 5cc7e808dc
commit 67647c9997

View file

@ -30,13 +30,8 @@ pub async fn get_store_paths(store: &NixStore) -> Result<HashSet<PathBuf>> {
}
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;
}
}