From 9edd83fa215db3f150e45d085a1f454e3776d6dc 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. (cherry picked from commit fb7fe3b3a819bfebf7db1a873509bcd97d1e38c0) --- 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 a622528df001..4b570c887b78 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -257,6 +257,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;