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