all repos — searchix @ 8ab9adf719090e213bd91b2747986ba6ef94576d

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

fix: pointer type mismatch

Alan Pearce
commit

8ab9adf719090e213bd91b2747986ba6ef94576d

parent

631c02ac689b3366987918737e2b09f52fb16dda

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

changed files
M internal/importer/ingest.gointernal/importer/ingest.go
@@ -106,14 +106,14 @@ dec *jstream.Decoder
ms *mapstructure.Decoder optJSON nixOptionJSON infile *os.File - source Source + source *Source } type Ingester[T options.NixOption] interface { Process() (<-chan *T, <-chan error) } -func NewOptionProcessor(inpath string, source Source) (*OptionIngester, error) { +func NewOptionProcessor(inpath string, source *Source) (*OptionIngester, error) { infile, err := os.Open(inpath) if err != nil { return nil, errors.WithMessagef(err, "failed to open input file %s", inpath)