all repos — searchix @ 052fce5bf2b1995fe45b88626e5342e61933d7cd

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

refactor: use a single value for per-source import timeouts

Alan Pearce
commit

052fce5bf2b1995fe45b88626e5342e61933d7cd

parent

0dbfe37fbddb95c184d845c79bbe014597d55fe8

1 file changed, 4 insertions(+), 12 deletions(-)

changed files
M defaults.tomldefaults.toml
@@ -83,10 +83,8 @@ # (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = 'options' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'release.nix' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'share/doc/darwin'
@@ -116,10 +114,8 @@ # (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = 'docs.json' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'default.nix' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'share/doc/home-manager'
@@ -149,10 +145,8 @@ # (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = 'options' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'nixos/release.nix' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'share/doc/nixos'
@@ -182,10 +176,8 @@ # (Fetcher=channel) Nix attribute name (i.e. nix-build -A) that builds an {options,packages}.json
Attribute = '' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = '' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'packages.json.br'