From 2c4ed6d542b8873ba14c013f7e3c84c245d82081 Mon Sep 17 00:00:00 2001 From: whispers Date: Thu, 24 Sep 2026 19:41:06 -0400 Subject: [PATCH] modest: fix build with gcc 16 failing due to unused variables and the better analysis provided in gcc 16. upstream seems very dead and unused variables *definitely* do not seem worth patching, so let's just unconditionalize the existing directives. --- pkgs/by-name/mo/modest/package.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/mo/modest/package.nix b/pkgs/by-name/mo/modest/package.nix index 600524d3ec0a..553640707bde 100644 --- a/pkgs/by-name/mo/modest/package.nix +++ b/pkgs/by-name/mo/modest/package.nix @@ -20,12 +20,10 @@ stdenv.mkDerivation (finalAttrs: { cmake ]; - env.NIX_CFLAGS_COMPILE = toString ( - lib.optionals stdenv.hostPlatform.isDarwin [ - "-Wno-void-pointer-to-enum-cast" - "-Wno-unused-but-set-variable" - ] - ); + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-void-pointer-to-enum-cast" + "-Wno-unused-but-set-variable" + ]; meta = { description = "Fast HTML renderer implemented as a pure C99 library with no outside dependencies";