about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2023-11-25 10:38:13 +0100
committerGitHub <noreply@github.com>2023-11-25 10:38:13 +0100
commitf4db50bafbe2de14bfef997d746305bcac45d0fc (patch)
treea749e0486331a4d87275781edbfd51f17895e389 /pkgs
parent09fecf05a21e4f178b894df89311ea0252c373a0 (diff)
parent8ae6154b2b49aedae4421aefe32494a1e4373de1 (diff)
Merge pull request #269700 from NixOS/pr/root_warning_fix
root: fix excessive build log size
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/science/misc/root/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/root/default.nix b/pkgs/applications/science/misc/root/default.nix
index d2172f614f644..3f3b64069bb14 100644
--- a/pkgs/applications/science/misc/root/default.nix
+++ b/pkgs/applications/science/misc/root/default.nix
@@ -195,6 +195,9 @@ stdenv.mkDerivation rec {
     "-Druntime_cxxmodules=OFF"
   ];
 
+  # suppress warnings from compilation of the vendored clang to avoid running into log limits on the Hydra
+  NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-Wno-shadow" "-Wno-maybe-uninitialized" ];
+
   # Workaround the xrootd runpath bug #169677 by prefixing [DY]LD_LIBRARY_PATH with ${lib.makeLibraryPath xrootd}.
   # TODO: Remove the [DY]LDLIBRARY_PATH prefix for xrootd when #200830 get merged.
   postInstall = ''