pe-parse: fix build on darwin

This commit is contained in:
Weijia Wang 2024-05-30 02:22:35 +02:00
parent 3892ca21ff
commit 4a90d51bb8

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