lol

Merge pull request #265253 from wegank/verilog-clang

verilog: fix build on darwin

authored by

Weijia Wang and committed by
GitHub
ed6188ec 870227bc

+7 -1
+4
pkgs/applications/science/electronics/verilog/default.nix
··· 44 44 45 45 enableParallelBuilding = true; 46 46 47 + env = lib.optionalAttrs stdenv.isDarwin { 48 + NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; 49 + }; 50 + 47 51 # NOTE(jleightcap): the `make check` target only runs a "Hello, World"-esque sanity check. 48 52 # the tests in the doInstallCheck phase run a full regression test suite. 49 53 # however, these tests currently fail upstream on aarch64
+3 -1
pkgs/top-level/all-packages.nix
··· 39735 39735 39736 39736 btor2tools = callPackage ../applications/science/logic/btor2tools { }; 39737 39737 39738 - boolector = callPackage ../applications/science/logic/boolector { }; 39738 + boolector = callPackage ../applications/science/logic/boolector { 39739 + stdenv = if stdenv.cc.isClang then overrideLibcxx llvmPackages_14.stdenv else stdenv; 39740 + }; 39739 39741 39740 39742 bitwuzla = callPackage ../applications/science/logic/bitwuzla { }; 39741 39743