mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
haskellPackages.gtk2hs-buildtools: attempt to fix build on aarch64
Linker failure outputs look like they are related to the GClosure stuff, so lets try disabling that flag on arm — originally the upstream cabal file disabled that flag by default if arch != x86_64-linux || != sparc64, so this seems to be actually correct.
This commit is contained in:
parent
c0d39d26a5
commit
38c4256a96
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ self: super: {
|
|||
# Similar to https://ghc.haskell.org/trac/ghc/ticket/13062
|
||||
happy = dontCheck super.happy;
|
||||
|
||||
# Disable GClosure based signals implementation on aarch64 as it causes linker issues
|
||||
# https://github.com/gtk2hs/gtk2hs/issues/305
|
||||
gtk2hs-buildtools = appendConfigureFlag super.gtk2hs-buildtools "-f-ClosureSignals";
|
||||
|
||||
} // lib.optionalAttrs pkgs.stdenv.hostPlatform.isAarch64 {
|
||||
# AARCH64-SPECIFIC OVERRIDES
|
||||
|
||||
|
|
Loading…
Reference in a new issue