diff options
author | Alan Pearce | 2024-11-20 10:37:42 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-20 10:37:42 +0100 |
commit | 3b168be37ea5ff9a6354681aaa187bc77318ac10 (patch) | |
tree | f8e53290158ac11c093f604d3b2fd3e1cb520bd3 | |
parent | ea9db0f984359bad3ffbe614cb45c248476c4f67 (diff) | |
download | searchix-3b168be37ea5ff9a6354681aaa187bc77318ac10.tar.lz searchix-3b168be37ea5ff9a6354681aaa187bc77318ac10.tar.zst searchix-3b168be37ea5ff9a6354681aaa187bc77318ac10.zip |
docs: update default nix-darwin importer config
-rw-r--r-- | defaults.toml | 2 | ||||
-rw-r--r-- | internal/config/default.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/defaults.toml b/defaults.toml index bc1daf9..66f0d07 100644 --- a/defaults.toml +++ b/defaults.toml @@ -152,7 +152,7 @@ Channel = 'nixpkgs' # (Fetcher=channel) Remote URL for channel, (Fetcher=download) Path containing files named 'revision' and 'options.json'. URL = 'https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz' # (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json -Attribute = 'options' +Attribute = 'docs.optionsJSON' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'nixos/release.nix' # Abort import if it takes longer than this. diff --git a/internal/config/default.go b/internal/config/default.go index 9a0c670..d6ad6f7 100644 --- a/internal/config/default.go +++ b/internal/config/default.go @@ -61,7 +61,7 @@ var DefaultConfig = Config{ Channel: "nixpkgs", URL: "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz", ImportPath: "nixos/release.nix", - Attribute: "options", + Attribute: "docs.optionsJSON", OutputPath: "share/doc/nixos", Timeout: Duration{5 * time.Minute}, Repo: nixpkgs, |