Skip to content

Commit

Permalink
Merge pull request #315984 from NixOS/backport-315748-to-release-24.05
Browse files Browse the repository at this point in the history
[Backport release-24.05] pe-parse: fix build on darwin
  • Loading branch information
risicle authored May 30, 2024
2 parents d8cb910 + 3a49fc3 commit b4a0f7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/pe-parse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-error=deprecated-declarations"
]);

doInstallCheck = true;
installCheckPhase = ''
$out/bin/dump-pe ../tests/assets/example.exe
Expand Down

0 comments on commit b4a0f7e

Please sign in to comment.