From f1fb86cc6f9ce7ff346cd061d22343955aea449a Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 15 Dec 2024 23:58:12 +0100 Subject: [PATCH] haskellPackages.HsOpenSSL: work around -Werror failures See the linked issues. Probably due to gcc >= 14. --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 3accbb7d44a50..8c46078145695 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -240,6 +240,14 @@ self: super: { ]; }) super.statistics; + # Work around -Werror failures until a more permanent solution is released + # https://github.com/haskell-cryptography/HsOpenSSL/issues/88 + # https://github.com/haskell-cryptography/HsOpenSSL/issues/93 + # https://github.com/haskell-cryptography/HsOpenSSL/issues/95 + HsOpenSSL = appendConfigureFlags [ + "--ghc-option=-optc=-Wno-incompatible-pointer-types" + ] super.HsOpenSSL; + # There are numerical tests on random data, that may fail occasionally lapack = dontCheck super.lapack;