Skip to content

Commit a9b1e52

Browse files
committed
Disable threaded for aarch64 cross GHC 9.6.7
1 parent d2b9130 commit a9b1e52

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

overlays/haskell.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,14 @@ final: prev: {
10531053
setupBuildFlags = final.lib.mkForce [];
10541054
};
10551055
}];
1056+
} // final.lib.optionalAttrs (
1057+
final.stdenv.hostPlatform.isAarch64
1058+
&& buildins.compareVersions final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.8" < 0) {
1059+
# The th-dlls test fails for aarch64 cross GHC 9.6.7 when the threaded rts is used
1060+
cabalProjectLocal = ''
1061+
package iserv-proxy
1062+
flags: -threaded
1063+
'';
10561064
} // final.lib.optionalAttrs (__compareVersions final.buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.10" > 0) {
10571065
cabalProjectLocal = ''
10581066
allow-newer: *:base, *:bytestring

0 commit comments

Comments
 (0)