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 lib, 3 stdenv, 4 fetchFromGitHub, 5 perl, 6 flex, 7 bison, ··· 31 tag = "v${version}"; 32 hash = "sha256-S+cDnKOTPjLw+sNmWL3+Ay6+UM8poMadkyPSGd3hgnc="; 33 }; 34 35 enableParallelBuilding = true; 36 buildInputs = [
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + fetchpatch, 6 perl, 7 flex, 8 bison, ··· 32 tag = "v${version}"; 33 hash = "sha256-S+cDnKOTPjLw+sNmWL3+Ay6+UM8poMadkyPSGd3hgnc="; 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 + ]; 43 44 enableParallelBuilding = true; 45 buildInputs = [