diff options
author | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-05-22 22:27:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-22 22:27:29 +0200 |
commit | 74c9fd99fd1a565115b639f861f8576ddf84c1ea (patch) | |
tree | 08d3bc28ff8062ff0dfc285603ba2b404b52ccd3 /pkgs/development | |
parent | ab17708c101647f268918b7ee7e5bc6a087a4f8c (diff) | |
parent | 4929c80451ec2132a074a6e075a42efd3a2b2ddf (diff) |
Merge pull request #173037 from LeSuisse/pe-parse-drop-no-sign-conversion
pe-parse: drop `no-sign-conversion` compile flag
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/pe-parse/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/pe-parse/default.nix b/pkgs/development/libraries/pe-parse/default.nix index c8689d15e24b..d9ccb4447b2f 100644 --- a/pkgs/development/libraries/pe-parse/default.nix +++ b/pkgs/development/libraries/pe-parse/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, cmake }: +{ stdenv, lib, fetchFromGitHub, cmake, fetchpatch }: stdenv.mkDerivation rec { pname = "pe-parse"; @@ -11,10 +11,14 @@ stdenv.mkDerivation rec { hash = "sha256-HwWlMRhpB/sa/JRyAZF7LZzkXCCyuxB+gtDAfHt7e6k="; }; - nativeBuildInputs = [ cmake ]; + patches = [ + (fetchpatch { + url = "https://github.com/trailofbits/pe-parse/commit/eecdb3d36eb44e306398a2e66e85490f9bdcc74c.patch"; + hash = "sha256-pd6D/JMctiQqJxnJU9Nm/GDVf4/CaIGeXx1UfdcCupo="; + }) + ]; - # See https://github.com/trailofbits/pe-parse/issues/169 - NIX_CFLAGS_COMPILE = "-Wno-sign-conversion"; + nativeBuildInputs = [ cmake ]; doInstallCheck = true; installCheckPhase = '' |