all repos — searchix @ 0eccb18ab0a7241c1f6f5fee99a3961101e35392

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

fix: no results for home-manager search

Alan Pearce
commit

0eccb18ab0a7241c1f6f5fee99a3961101e35392

parent

6789940f52e852426f224bcdbc9e6f6a8cb7be41

1 file changed, 1 insertion(+), 2 deletions(-)

changed files
M internal/importer/ingest.gointernal/importer/ingest.go
@@ -8,7 +8,6 @@ "net/url"
"os" "reflect" "searchix/internal/options" - "strings" "github.com/bcicen/jstream" "github.com/mitchellh/mapstructure"
@@ -221,7 +220,7 @@
// slog.Debug("sending option", "name", kv.Key) results <- &options.NixOption{ Name: kv.Key, - Source: strings.ToLower(i.source.Name), + Source: i.source.Key, Declarations: decs, Default: convertNixValue(i.optJSON.Default), Description: options.Markdown(i.optJSON.Description),