all repos — searchix @ 3ee8248656c089594ea8a3be41945c408ab39aa4

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: re-index refusing to delete data directory with programs.db
Alan Pearce alan@alanpearce.eu
Fri, 31 Jan 2025 16:23:02 +0100
commit

3ee8248656c089594ea8a3be41945c408ab39aa4

parent

66f0b6c3abf0655d55858daffe7426c29da09a14

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M internal/index/indexer.gointernal/index/indexer.go
@@ -169,6 +169,7 @@ var expectedDataFiles = []string{ 	metaBaseName,
 	indexBaseName,
 	"sources",
+	"nixpkgs-programs.db",
 }
 
 func deleteIndex(dataRoot string) error {