all repos — searchix @ 520dcca2755dbbab13ceebdc53d03beec8b94533

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

feat: store data separate from search index

Alan Pearce
commit

520dcca2755dbbab13ceebdc53d03beec8b94533

parent

d25925f0d7c7e0951e739473795309514f5b558a

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M internal/components/packages.gointernal/components/packages.go
@@ -23,7 +23,7 @@ ),
), TBody( g.MapIter(result.Hits, func(hit index.DocumentMatch) g.Node { - if m := convertMatch[nix.Package](hit.Data); m != nil { + if m, ok := hit.Data.(*nix.Package); ok { return packageRow(hit, *m) }