haskellPackages.HsSyck: implicit function decl may not fail build

This is another gcc 14 workaround.

haskellPackages.HsOpenSSL: don't silence incompatible-pointer-types

Disabling the error is a better option than silencing the warning which
still applies…

(cherry picked from commit 9c577069d9)
This commit is contained in:
sternenseemann
2024-12-22 13:57:33 +01:00
parent b3ce3aface
commit 3cf4ebd8c2
@@ -245,8 +245,12 @@ self: super: {
# 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"
"--ghc-option=-optc=-Wno-error=incompatible-pointer-types"
] super.HsOpenSSL;
# Work around compilation failure with gcc >= 14
HsSyck = appendConfigureFlags [
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
] super.HsSyck;
# There are numerical tests on random data, that may fail occasionally
lapack = dontCheck super.lapack;