diff options
-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, |