Unverified Commit b4a0f7e0 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #315984 from NixOS/backport-315748-to-release-24.05

[Backport release-24.05] pe-parse: fix build on darwin
parents d8cb9103 3a49fc3c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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