all repos — searchix @ 3b168be37ea5ff9a6354681aaa187bc77318ac10

Search engine for NixOS, nix-darwin, home-manager and NUR users

docs: update default nix-darwin importer config
Alan Pearce alan@alanpearce.eu
Wed, 20 Nov 2024 10:37:42 +0100
commit

3b168be37ea5ff9a6354681aaa187bc77318ac10

parent

ea9db0f984359bad3ffbe614cb45c248476c4f67

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M defaults.tomldefaults.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.
M internal/config/default.gointernal/config/default.go
@@ -61,7 +61,7 @@ Fetcher:    Channel, 				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,