verilator: fix build on Darwin

authored by Robert Scott and committed by Robert Schütz 06be23d6 21708aae

+9
+9
pkgs/by-name/ve/verilator/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 + fetchpatch, 5 6 perl, 6 7 flex, 7 8 bison, ··· 31 32 tag = "v${version}"; 32 33 hash = "sha256-S+cDnKOTPjLw+sNmWL3+Ay6+UM8poMadkyPSGd3hgnc="; 33 34 }; 35 + 36 + patches = [ 37 + (fetchpatch { 38 + name = "clang-V3hash-overload-fix.patch"; 39 + url = "https://github.com/verilator/verilator/commit/2aa260a03b67d3fe86bc64b8a59183f8dc21e117.patch"; 40 + hash = "sha256-waUsctWiAMG3lCpQi+VUUZ7qMw/kJGu/wNXPHZGuAoU="; 41 + }) 42 + ]; 34 43 35 44 enableParallelBuilding = true; 36 45 buildInputs = [