We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb166e commit c761376Copy full SHA for c761376
pkgs/development/tools/electron/common.nix
@@ -66,6 +66,16 @@ in
66
67
env =
68
base.env
69
+ // {
70
+ # Hydra can fail to build electron due to clang spamming deprecation
71
+ # warnings mid-build, causing the build log to grow beyond the limit
72
+ # of 64mb and then getting killed by Hydra.
73
+ # For some reason, the log size limit appears to only be enforced on
74
+ # aarch64-linux. x86_64-linux happily succeeds to build with ~180mb. To
75
+ # unbreak the build on h.n.o, we simply disable those warnings for now.
76
+ # https://hydra.nixos.org/build/283952243
77
+ NIX_CFLAGS_COMPILE = base.env.NIX_CFLAGS_COMPILE + " -Wno-deprecated";
78
+ }
79
// lib.optionalAttrs (lib.versionAtLeast info.version "35") {
80
# Needed for header generation in electron 35 and above
81
ELECTRON_OUT_DIR = "Release";
0 commit comments