Skip to content

Commit

Permalink
iverilog: set correct build compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst committed Dec 31, 2024
1 parent 6b1e481 commit fbc1412
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/by-name/iv/iverilog/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
python3,
readline,
zlib,
buildPackages,
}:

stdenv.mkDerivation rec {
Expand All @@ -33,8 +34,8 @@ stdenv.mkDerivation rec {
gperf
];

CC_FOR_BUILD = "${stdenv.cc}/bin/cc";
CXX_FOR_BUILD = "${stdenv.cc}/bin/c++";
CC_FOR_BUILD = "${buildPackages.stdenv.cc}/bin/cc";
CXX_FOR_BUILD = "${buildPackages.stdenv.cc}/bin/c++";

patches = [
# NOTE(jleightcap): `-Werror=format-security` warning patched shortly after release, backport the upstream fix
Expand Down

0 comments on commit fbc1412

Please sign in to comment.