File tree Expand file tree Collapse file tree 6 files changed +14
-8
lines changed Expand file tree Collapse file tree 6 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 89
89
inherit ( lib . systems . examples ) ghcjs ;
90
90
} // lib . optionalAttrs ( nixpkgsName == "unstable"
91
91
&& ( __match ".*llvm" compiler-nix-name == null )
92
- && ( ( 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`
92
+ && ( ( system == "x86_64-linux" && ! builtins . elem compiler-nix-name [ "ghc902" "ghc928" ] )
93
93
|| ( system == "x86_64-darwin" && builtins . elem compiler-nix-name [ ] ) ) ) { # TODO add ghc versions when we have more darwin build capacity
94
94
inherit ( lib . systems . examples ) mingwW64 ;
95
95
} // lib . optionalAttrs ( nixpkgsName == "unstable"
Original file line number Diff line number Diff line change 230
230
# This one will lead to segv's on darwin, when calling `strlen` during lookupStrHashTable. `strlen` ends up being called with 0x0.
231
231
# This patch will allow adding additional symbols to iserv, instead of having to patch them into GHC all the time.
232
232
++ 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 ) ) )
235
236
( fromUntil "9.6.1" "9.11" ./patches/ghc/iserv-syms.patch )
236
237
++ onAndroid ( until "9.0" ./patches/ghc/ghc-8.10.7-weak-symbols-2.patch )
237
238
++ onDarwin ( onAarch64 ( until "9.0" ./patches/ghc/ghc-8.10.7-rts-aarch64-darwin.patch ) )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ repository head.hackage.ghc.haskell.org
29
29
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
30
30
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
31
31
7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
32
- --sha256: sha256-Zu+OsPXt+tUllxC2LVJ3jneYGUH5GvdemZZPnynWaN0 =
32
+ --sha256: sha256-Fn+JdHvwpbhYz5ffZU6+2HFZHLMLgah564mMdyUHKL4 =
33
33
34
34
repository ghcjs-overlay
35
35
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/ffb32dce467b9a4d27be759fdd2740a6edd09d0b
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ in recurseIntoAttrs {
43
43
build-ei = packages-ei . th-dlls . components . library ;
44
44
just-template-haskell-ei = packages-ei . th-dlls . components . exes . just-template-haskell ;
45
45
} // 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 ) ) ) {
47
49
# On for aarch64 cross compile on GHC this test is fails sometimes for non profiled builds
48
50
# (and always for the profiled builds).
49
51
# This may be related to the memory allocation changes made in 9.8.4 that
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ library
15
15
, double-conversion
16
16
, unix-time
17
17
, th-orphans
18
+ , ghc-prim
19
+ , math-functions
20
+ , erf
18
21
exposed-modules : Lib
19
22
hs-source-dirs : src
20
23
default-language : Haskell2010
You can’t perform that action at this time.
0 commit comments