diff options
Diffstat (limited to 'internal/importer/nixpkgs-channel.go')
-rw-r--r-- | internal/importer/nixpkgs-channel.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/importer/nixpkgs-channel.go b/internal/importer/nixpkgs-channel.go index 0e5be62..e237246 100644 --- a/internal/importer/nixpkgs-channel.go +++ b/internal/importer/nixpkgs-channel.go @@ -63,7 +63,10 @@ func (i *NixpkgsChannelImporter) FetchIfNeeded(parent context.Context) (bool, er return true, nil } -func (i *NixpkgsChannelImporter) Import(parent context.Context, indexer *search.WriteIndex) (bool, error) { +func (i *NixpkgsChannelImporter) Import( + parent context.Context, + indexer *search.WriteIndex, +) (bool, error) { filename := path.Join(i.DataPath, filesToFetch["options"]) revFilename := path.Join(i.DataPath, filesToFetch["revision"]) bits, err := os.ReadFile(revFilename) |