0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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-21 20:15:26 +01:00
parent b3ce3aface
commit 3cf4ebd8c2

View file

@ -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;