verilog: fix build on darwin

This commit is contained in:
Weijia Wang 2023-11-03 16:45:29 +01:00
parent 023d20ae64
commit ef0caaefce

View File

@ -44,6 +44,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
env = lib.optionalAttrs stdenv.isDarwin {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
};
# NOTE(jleightcap): the `make check` target only runs a "Hello, World"-esque sanity check.
# the tests in the doInstallCheck phase run a full regression test suite.
# however, these tests currently fail upstream on aarch64