pe-parse: fix the build

ZHF: #172160
This commit is contained in:
Thomas Gerbet 2022-05-11 11:29:21 +02:00
parent b0c6c8c92b
commit 433f7fd233

View file

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
# See https://github.com/trailofbits/pe-parse/issues/169
NIX_CFLAGS_COMPILE = "-Wno-sign-conversion";
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = '' installCheckPhase = ''
$out/bin/dump-pe ../tests/assets/example.exe $out/bin/dump-pe ../tests/assets/example.exe