From 3b168be37ea5ff9a6354681aaa187bc77318ac10 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 20 Nov 2024 10:37:42 +0100 Subject: docs: update default nix-darwin importer config --- defaults.toml | 2 +- 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, -- cgit 1.4.1