about summary refs log tree commit diff stats
path: root/internal/options/option.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/options/option.go')
-rw-r--r--internal/options/option.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/options/option.go b/internal/options/option.go
index a43dd49..b7fe818 100644
--- a/internal/options/option.go
+++ b/internal/options/option.go
@@ -14,6 +14,7 @@ type Link struct {
 
 type NixOption struct {
 	Option string
+	Source string
 
 	Declarations    []Link
 	Default         *NixValue `json:",omitempty"`
@@ -24,4 +25,6 @@ type NixOption struct {
 	Type            string
 }
 
-type NixOptions []NixOption
+func (*NixOption) BleveType() string {
+	return "option"
+}