File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
pkgs/development/tools/electron Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 66
66
67
67
env =
68
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
+ }
69
79
// lib . optionalAttrs ( lib . versionAtLeast info . version "35" ) {
70
80
# Needed for header generation in electron 35 and above
71
81
ELECTRON_OUT_DIR = "Release" ;
You can’t perform that action at this time.
0 commit comments