diff options
Diffstat (limited to 'internal/config/structs.go')
-rw-r--r-- | internal/config/structs.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/config/structs.go b/internal/config/structs.go index b31e0cd..e73425b 100644 --- a/internal/config/structs.go +++ b/internal/config/structs.go @@ -48,6 +48,12 @@ type Source struct { Timeout Duration `comment:"Abort import if it takes longer than this."` OutputPath string `comment:"(Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json."` Repo Repository `comment:"Used to generate declaration/definition links"` + Programs ProgramsDB `comment:"Used to enable searching for programs in multi-program packages"` +} + +type ProgramsDB struct { + Enable bool `comment:"Enable searching for programs in multi-program packages"` + Attribute string `comment:"Nix attribute name (i.e. nix-instantiate) that builds a programs.sqlite file"` } func (source *Source) String() string { |