Increase timeout for aarch64 builds
otherwise chromium times out in gallium
This commit is contained in:
parent
4c91189777
commit
81159cd989
10
flake.nix
10
flake.nix
|
@ -806,7 +806,15 @@
|
||||||
hydraJobs =
|
hydraJobs =
|
||||||
lib.mapAttrs (_: nixos.lib.hydraJob) (
|
lib.mapAttrs (_: nixos.lib.hydraJob) (
|
||||||
let
|
let
|
||||||
getBuildEntryPoint = _: nixosSystem: nixosSystem.config.microvm.declaredRunner or nixosSystem.config.system.build.toplevel;
|
getBuildEntryPoint = _: nixosSystem:
|
||||||
|
let
|
||||||
|
cfg = nixosSystem.config.microvm.declaredRunner or nixosSystem.config.system.build.toplevel;
|
||||||
|
in
|
||||||
|
if nixosSystem.config.nixpkgs.system == "aarch64-linux" then
|
||||||
|
# increase timeout for chromium
|
||||||
|
lib.recursiveUpdate cfg { meta.timeout = 24 * 60 * 60; }
|
||||||
|
else
|
||||||
|
cfg;
|
||||||
in
|
in
|
||||||
lib.mapAttrs getBuildEntryPoint self.nixosConfigurations
|
lib.mapAttrs getBuildEntryPoint self.nixosConfigurations
|
||||||
# // lib.mapAttrs' (hostname: nixosSystem: lib.nameValuePair
|
# // lib.mapAttrs' (hostname: nixosSystem: lib.nameValuePair
|
||||||
|
|
Loading…
Reference in New Issue