refactor: use a single value for per-source import timeouts
1 file changed, 4 insertions(+), 12 deletions(-)
changed files
M defaults.toml → defaults.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'