···8585 url = "https://gn.googlesource.com/gn";
8686 inherit (upstream-info.deps.gn) rev hash;
8787 };
8888-8989- # Relax hardening as otherwise gn unstable 2024-06-06 and later fail with:
9090- # cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
9191- hardeningDisable = [ "format" ];
9292-9393- # At the time of writing, gn is at v2024-05-13 and has a backported patch.
9494- # This patch appears to be already present in v2024-09-09 (from M130), which
9595- # results in the patch not applying and thus failing the build.
9696- # As a work around until gn is updated again, we filter specifically that patch out.
9797- patches = lib.filter (e: lib.getName e != "LFS64.patch") oldAttrs.patches;
9888 });
9989 });
10090