···85 url = "https://gn.googlesource.com/gn";
86 inherit (upstream-info.deps.gn) rev hash;
87 };
88-89- # Relax hardening as otherwise gn unstable 2024-06-06 and later fail with:
90- # cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
91- hardeningDisable = [ "format" ];
92-93- # At the time of writing, gn is at v2024-05-13 and has a backported patch.
94- # This patch appears to be already present in v2024-09-09 (from M130), which
95- # results in the patch not applying and thus failing the build.
96- # As a work around until gn is updated again, we filter specifically that patch out.
97- patches = lib.filter (e: lib.getName e != "LFS64.patch") oldAttrs.patches;
98 });
99 });
100