diff options
Diffstat (limited to 'internal/importer/package.go')
-rw-r--r-- | internal/importer/package.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/importer/package.go b/internal/importer/package.go index 5e9ad26..3fee8d7 100644 --- a/internal/importer/package.go +++ b/internal/importer/package.go @@ -225,6 +225,10 @@ func (i *PackageIngester) Process(parent context.Context) (<-chan nix.Importable pkgSet = "" } + url, err := makeRepoURL(i.source.Repo, subpath, line) + if err != nil { + errs <- err + } results <- &nix.Package{ Name: i.pkg.Name, Attribute: kv.Key, @@ -239,7 +243,7 @@ func (i *PackageIngester) Process(parent context.Context) (<-chan nix.Importable Platforms: i.pkg.Meta.Platforms, Licenses: licenses, Maintainers: maintainers, - Definition: makeRepoURL(i.source.Repo, subpath, line), + Definition: url, } } }() |