orcania: fix build by ignoring clang errors (#358427)

This commit is contained in:
Weijia Wang 2024-11-23 15:37:09 +01:00 committed by GitHub
commit 695b7fde3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DBUILD_ORCANIA_TESTING=on" ];
env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.cc.isClang [
"-Wno-error=constant-conversion"
]
);
doCheck = true;
meta = with lib; {