feat: add DownloadOptions importer (fetches pre-built options.json)
1 file changed, 5 insertions(+), 0 deletions(-)
changed files
M internal/config/source.go → internal/config/source.go
@@ -13,6 +13,7 @@ const ( Unknown = iota Channel ChannelNixpkgs + DownloadOptions ) func (f Type) String() string {@@ -21,6 +22,8 @@ case Channel: return "channel" case ChannelNixpkgs: return "channel-nixpkgs" + case DownloadOptions: + return "download-options" } return fmt.Sprintf("Fetcher(%d)", f)@@ -32,6 +35,8 @@ case "channel": return Channel, nil case "channel-nixpkgs": return ChannelNixpkgs, nil + case "download-options": + return DownloadOptions, nil default: return Unknown, fmt.Errorf("unsupported fetcher %s", name) }