about summary refs log tree commit diff stats
path: root/internal/importer/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/importer/options.go')
-rw-r--r--internal/importer/options.go2
1 files changed, 1 insertions, 1 deletions
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",