From fb7fe3b3a819bfebf7db1a873509bcd97d1e38c0 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 22 Dec 2024 13:02:06 +0100 Subject: [PATCH] haskellPackages.termbox-bindings-c: disable implicit fun -Werror Work around gcc 14 making implicit-function-declaration an error. --- pkgs/development/haskell-modules/configuration-common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 64716e2756ea..29bc667aae1d 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -258,6 +258,9 @@ self: super: { hdf5-lite = appendConfigureFlags [ "--ghc-option=-optc=-Wno-error=implicit-function-declaration" ] super.hdf5-lite; + termbox-bindings-c = appendConfigureFlags [ + "--ghc-option=-optc=-Wno-error=implicit-function-declaration" + ] super.termbox-bindings-c; # There are numerical tests on random data, that may fail occasionally lapack = dontCheck super.lapack;