From 8c186a0230c0164572ee07676b4e4f399a72e048 Mon Sep 17 00:00:00 2001 From: Phillip Seeber Date: Mon, 12 Jan 2026 13:07:50 +0100 Subject: [PATCH] molden: ensure gcc15 compatibility --- pkgs/by-name/mo/molden/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/mo/molden/package.nix b/pkgs/by-name/mo/molden/package.nix index 12959c85825a..38f529d426e0 100644 --- a/pkgs/by-name/mo/molden/package.nix +++ b/pkgs/by-name/mo/molden/package.nix @@ -27,8 +27,8 @@ stdenv.mkDerivation rec { patches = [ ./dont_register_file_types.patch ]; - # fix build with GCC 14 - env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-mismatch"; + # fix build with GCC 14+ + env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-mismatch -std=gnu17"; postPatch = '' substituteInPlace ./makefile --replace '-L/usr/X11R6/lib' "" \