From e70431d68dced8754e94228753359b2130fd075a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 20 May 2024 23:14:40 +0200 Subject: refactor: make declaration/definition URLs from Source.Repo --- internal/importer/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/importer/options.go') diff --git a/internal/importer/options.go b/internal/importer/options.go index 8ce684c..4089f62 100644 --- a/internal/importer/options.go +++ b/internal/importer/options.go @@ -124,7 +124,7 @@ func (i *OptionIngester) Process(parent context.Context) (<-chan nix.Importable, switch decl := reflect.ValueOf(decl); decl.Kind() { case reflect.String: s := decl.String() - link, err := MakeChannelLink(i.source.Channel, i.source.Repo.Revision, s) + link, err := MakeChannelLink(i.source.Repo, s) if err != nil { errs <- errors.WithMessagef(err, "could not make a channel link for channel %s, revision %s and subpath %s", -- cgit 1.4.1