From 1f4a0eb852429ce1f1fc9c924dc5eb04f8e74ca1 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 (cherry picked from commit dc09700185c660171b7e9984fd50a4d2543f75d4) --- 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 21e6e84c135d..a622528df001 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -251,6 +251,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;