From dc09700185c660171b7e9984fd50a4d2543f75d4 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 21 Dec 2024 20:31:20 +0100 Subject: [PATCH] haskellPackages.{hd5-lite,bindings-libcddb}: disable gcc 14 -Werror --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index eb470cf73004..64716e2756ea 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -252,6 +252,12 @@ self: super: { HsSyck = appendConfigureFlags [ "--ghc-option=-optc=-Wno-error=implicit-function-declaration" ] super.HsSyck; + bindings-libcddb = appendConfigureFlags [ + "--ghc-option=-optc=-Wno-error=incompatible-pointer-types" + ] super.bindings-libcddb; + hdf5-lite = appendConfigureFlags [ + "--ghc-option=-optc=-Wno-error=implicit-function-declaration" + ] super.hdf5-lite; # There are numerical tests on random data, that may fail occasionally lapack = dontCheck super.lapack;