Several fixes for the compiler (#2422)

* Update .gitignore for nix

* Fix build failure when compiling with -Werror=maybe-uninitialized

* Fix test failure formatting

* Add separateDebugInfo to c3c Nix build
This commit is contained in:
vssukharev
2025-08-20 22:47:22 +03:00
committed by GitHub
parent 28ffb864a3
commit b7c9a4e2e9
4 changed files with 10 additions and 6 deletions

View File

@@ -26,7 +26,10 @@ in llvmPackages.stdenv.mkDerivation (_:
removeSuffix "\"" ( removePrefix "\"" ( elemAt ( splitString " " foundLine ) 2 ) );
src = ../.;
# See https://github.com/symphorien/nixseparatedebuginfod for usage
separateDebugInfo = true;
# Here we substitute GIT_HASH which is not set for cmake in nix builds.
# Similar situation is with __DATE__ and __TIME__ macros, which are
# set to "Jan 01 1980 00:00:00" by default.