Merge pull request #315748 from wegank/pe-parse-darwin

pe-parse: fix build on darwin
This commit is contained in:
Robert Scott 2024-05-30 21:15:24 +01:00 committed by GitHub
commit 3f1521045c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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