From e5642d405ee784d97ab031472e72824756b97bcc Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Sun, 15 Mar 2020 11:57:57 +0100 Subject: [PATCH] retdec: fix build The build was broken by the gcc9 update. Pinning to gcc8 for now. --- pkgs/development/tools/analysis/retdec/default.nix | 1 + pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/analysis/retdec/default.nix b/pkgs/development/tools/analysis/retdec/default.nix index 475d1950bb2a..848dfca5ce6d 100644 --- a/pkgs/development/tools/analysis/retdec/default.nix +++ b/pkgs/development/tools/analysis/retdec/default.nix @@ -130,6 +130,7 @@ in stdenv.mkDerivation rec { # itself and trying to build it. The build should fail and tell you which dependencies you have to upgrade to which versions. # I've notified upstream about this problem here: # https://github.com/avast-tl/retdec/issues/412 + # gcc is pinned to gcc8 in all-packages.nix. That should probably be re-evaluated on update. version = "3.2"; src = fetchFromGitHub { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 79fe6d381248..a845f5d38b87 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10616,7 +10616,9 @@ in remake = callPackage ../development/tools/build-managers/remake { }; - retdec = callPackage ../development/tools/analysis/retdec { }; + retdec = callPackage ../development/tools/analysis/retdec { + stdenv = gcc8Stdenv; + }; retdec-full = retdec.override { withPEPatterns = true; };