Skip to content

Commit d68b241

Browse files
committed
Merge remote-tracking branch 'origin/master' into hkm/wasm
# Conflicts: # ci.nix # test/cabal.project.local
2 parents fde616a + a3f4355 commit d68b241

File tree

7 files changed

+21
-15
lines changed

7 files changed

+21
-15
lines changed

ci.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
inherit (lib.systems.examples) wasi32;
9494
} // lib.optionalAttrs (nixpkgsName == "unstable"
9595
&& (__match ".*llvm" compiler-nix-name == null)
96-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc966" "ghc967" "ghc96720250227"]) # Not sure why GHC 9.6.6 TH code now wants `log1pf`
96+
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928"])
9797
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
9898
inherit (lib.systems.examples) mingwW64;
9999
} // lib.optionalAttrs (nixpkgsName == "unstable"

flake.lock

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

modules/configuration-nix.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ in addPackageKeys {
7575
packages.ghc-lib-parser.patches = [
7676
(fromUntil "8.10.0.0" "9.2" ../overlays/patches/ghc-lib-parser-8.10-global-unique-counters-in-rts.patch)
7777
(fromUntil "9.2.0.0" "9.3" ../overlays/patches/ghc-lib-parser-9.2-global-unique-counters-in-rts.patch)
78-
(fromUntil "9.4.0.0" "9.7" ../overlays/patches/ghc-lib-parser-9.4-global-unique-counters-in-rts.patch)
78+
(fromUntil "9.4.0.0" "9.6.7" ../overlays/patches/ghc-lib-parser-9.4-global-unique-counters-in-rts.patch)
7979
];
8080
packages.ghc-lib-parser.components.library.pre-existing = ["ghc-boot-th"];
8181

overlays/bootstrap.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,9 @@ in {
230230
# This one will lead to segv's on darwin, when calling `strlen` during lookupStrHashTable. `strlen` ends up being called with 0x0.
231231
# This patch will allow adding additional symbols to iserv, instead of having to patch them into GHC all the time.
232232
++ final.lib.optionals (
233-
(final.stdenv.targetPlatform.isAndroid || final.stdenv.targetPlatform.isLinux)
234-
&& (final.stdenv.targetPlatform.isAarch64 || final.stdenv.targetPlatform.is32bit))
233+
final.stdenv.targetPlatform.isWindows ||
234+
( (final.stdenv.targetPlatform.isAndroid || final.stdenv.targetPlatform.isLinux)
235+
&& (final.stdenv.targetPlatform.isAarch64 || final.stdenv.targetPlatform.is32bit)))
235236
(fromUntil "9.6.1" "9.11" ./patches/ghc/iserv-syms.patch)
236237
++ onAndroid (until "9.0" ./patches/ghc/ghc-8.10.7-weak-symbols-2.patch)
237238
++ onDarwin (onAarch64 (until "9.0" ./patches/ghc/ghc-8.10.7-rts-aarch64-darwin.patch))

test/cabal.project.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repository head.hackage.ghc.haskell.org
2929
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
3030
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
3131
7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
32-
--sha256: sha256-qO3Gb/EXiX6jP3LMR/RRvSXw+IKpINXZhils3eq7Avk=
32+
--sha256: sha256-7avwPG/Y1/+n48FFoWXiRtV/JqSPGvPqfHGLVG7ANk4=
3333

3434
repository ghcjs-overlay
3535
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/ffb32dce467b9a4d27be759fdd2740a6edd09d0b

test/th-dlls/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ in recurseIntoAttrs {
4343
build-ei = packages-ei.th-dlls.components.library;
4444
just-template-haskell-ei = packages-ei.th-dlls.components.exes.just-template-haskell;
4545
} // optionalAttrs
46-
(!(builtins.elem compiler-nix-name ["ghc984" "ghc9122" "ghc91320250523"] && stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64)) {
46+
(!(builtins.elem compiler-nix-name ["ghc984" "ghc9122" "ghc91320250523"] && stdenv.buildPlatform.isx86_64 && stdenv.hostPlatform.isAarch64
47+
# The dependency on `math-functions` somehow breaks GHC 9.6.7 musl profiled builds (only with the external interpreter though)
48+
|| (compiler-nix-name == "ghc967" && stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64))) {
4749
# On for aarch64 cross compile on GHC this test is fails sometimes for non profiled builds
4850
# (and always for the profiled builds).
4951
# This may be related to the memory allocation changes made in 9.8.4 that

test/th-dlls/th-dlls.cabal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ library
1515
, double-conversion
1616
, unix-time
1717
, th-orphans
18+
, ghc-prim
19+
, math-functions
20+
, erf
1821
exposed-modules: Lib
1922
hs-source-dirs: src
2023
default-language: Haskell2010

0 commit comments

Comments
 (0)