From 2ac8a12595ad198ab669fd949e037465313e32fc Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Wed, 18 Dec 2024 19:16:27 +0100 Subject: [PATCH] Increase maximum silent time for PGO --- flake.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 3870204..da5729b 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,11 @@ outputs = { self, nixpkgs, ... }: let inherit (nixpkgs) lib; + + meta = { + timeout = 24 * 3600; + maxSilent = 6 * 3600; + }; in { packages = lib.genAttrs [ "riscv64-linux" "aarch64-linux" "x86_64-linux" ] (system: let pkgs = nixpkgs.legacyPackages.${system}; @@ -71,9 +76,7 @@ configureFlags = prevAttrs.configureFlags or [ ] ++ [ "--enable-default-toolkit=cairo-gtk3-wayland-only" ]; - meta = prevAttrs.meta // { - timeout = 48 * 3600; - }; + meta = prevAttrs.meta // meta; })).override { #alsaSupport = false; ffmpegSupport = true; @@ -104,9 +107,7 @@ extraConfigureFlags = [ "--enable-default-toolkit=cairo-gtk3-wayland-only" ]; - meta = pkgs.firefox-beta-unwrapped.meta // { - timeout = 48 * 3600; - }; + meta = pkgs.firefox-beta-unwrapped.meta // meta; }).override { #alsaSupport = false; ffmpegSupport = true; @@ -137,16 +138,14 @@ configureFlags = prevAttrs.configureFlags or [ ] ++ [ "--enable-default-toolkit=cairo-gtk3-wayland-only" ]; - meta = prevAttrs.meta // { - timeout = 48 * 3600; - }; + meta = prevAttrs.meta // meta; })).override { #alsaSupport = false; ffmpegSupport = false; jackSupport = false; jemallocSupport = false; ltoSupport = true; - pgoSupport = false; + pgoSupport = true; pipewireSupport = false; pulseaudioSupport = true; sndioSupport = false;