From 4c6db771227b454239ba68b7fb3a8a970f983c88 Mon Sep 17 00:00:00 2001 From: Ming-Chuan Date: Fri, 2 Jan 2026 20:17:18 +0800 Subject: [PATCH] solc: 0.8.28 -> 0.8.33 Fixes build with GCC 15 --- pkgs/by-name/so/solc/package.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/so/solc/package.nix b/pkgs/by-name/so/solc/package.nix index 141795a126a2..cbab1ff2a437 100644 --- a/pkgs/by-name/so/solc/package.nix +++ b/pkgs/by-name/so/solc/package.nix @@ -25,9 +25,9 @@ assert cvc4Support -> cvc4 != null && cln != null && gmp != null; let pname = "solc"; - version = "0.8.28"; - linuxHash = "sha256-kosJ10stylGK5NUtsnMM7I+OfhR40TXPQDvnggOFLLc="; - darwinHash = "sha256-gVFbDlPeqiZtVJVFzKrApalubU6CAcd/ZzsscQl22eo="; + version = "0.8.33"; + linuxHash = "sha256-sWCV0GOUW5GPNX1flk+UOrdwoHZHnx4MsZMGDDBxx6M="; + darwinHash = "sha256-gyQoBZHOOY1+JyKEa8EOzxd5sToyjvl7aHySzZxwgBo="; nativeInstallCheckInputs = [ versionCheckHook @@ -64,15 +64,6 @@ let hash = linuxHash; }; - # Fix build with GCC 14 - # Submitted upstream: https://github.com/ethereum/solidity/pull/15685 - postPatch = '' - substituteInPlace test/yulPhaser/Chromosome.cpp \ - --replace-fail \ - "BOOST_TEST(abs" \ - "BOOST_TEST(fabs" - ''; - cmakeFlags = [ "-DBoost_USE_STATIC_LIBS=OFF"