Merge pull request #269700 from NixOS/pr/root_warning_fix

root: fix excessive build log size
This commit is contained in:
Pierre Bourdon 2023-11-25 10:38:13 +01:00 committed by GitHub
commit f4db50bafb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = ''