Skip to content

Commit

Permalink
haskell: pick GCC 14 workarounds from haskell-updates (#367364)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Dec 23, 2024
2 parents 4b816e1 + 835bc93 commit c5503d2
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,28 @@ 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 failures with gcc >= 14
# https://github.com/audreyt/hssyck/issues/5
HsSyck = appendConfigureFlags [
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
] super.HsSyck;
# https://github.com/rethab/bindings-dsl/issues/46
bindings-libcddb = appendConfigureFlags [
"--ghc-option=-optc=-Wno-error=incompatible-pointer-types"
] super.bindings-libcddb;
# https://github.com/ocramz/hdf5-lite/issues/3
hdf5-lite = appendConfigureFlags [
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
] super.hdf5-lite;
# https://github.com/awkward-squad/termbox/issues/5
termbox-bindings-c = appendConfigureFlags [
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
] super.termbox-bindings-c;
libxml-sax = appendConfigureFlags [
"--ghc-option=-optc=-Wno-error=implicit-function-declaration"
] super.libxml-sax;

# There are numerical tests on random data, that may fail occasionally
lapack = dontCheck super.lapack;
Expand Down

0 comments on commit c5503d2

Please sign in to comment.