From df3b6bfd571c38aa7099838aa43bb3aff0eff2bf Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 May 2024 17:24:31 +0200 Subject: feat: add DownloadOptions importer (fetches pre-built options.json) --- internal/importer/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/importer/main.go') diff --git a/internal/importer/main.go b/internal/importer/main.go index 2d87e33..0b7a99d 100644 --- a/internal/importer/main.go +++ b/internal/importer/main.go @@ -34,6 +34,8 @@ func Start(cfg *config.Config, indexer *index.WriteIndex, replace bool) error { imp = NewNixpkgsChannelImporter(source, importerDataPath, logger) case config.Channel: imp = NewChannelImporter(source, importerDataPath, logger) + case config.DownloadOptions: + imp = NewDownloadOptionsImporter(source, importerDataPath, logger) default: log.Printf("unsupported importer type %s", source.Type.String()) -- cgit 1.4.1