From ddb93698c9806b5f7f4724aecdbcc406dfeed7cf Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Wed, 25 Dec 2024 18:44:41 +0100 Subject: [PATCH] nwchem: fix build with gcc-14 --- pkgs/applications/science/chemistry/nwchem/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/science/chemistry/nwchem/default.nix b/pkgs/applications/science/chemistry/nwchem/default.nix index cc80ad3c67ec0..282a53996e6b1 100644 --- a/pkgs/applications/science/chemistry/nwchem/default.nix +++ b/pkgs/applications/science/chemistry/nwchem/default.nix @@ -147,6 +147,9 @@ stdenv.mkDerivation rec { runHook postConfigure ''; + # Required for build with gcc-14 + env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int"; + enableParallelBuilding = true; preBuild = ''