File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,11 @@ in {
229
229
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
- ++ fromUntil "9.6.1" "9.11" ./patches/ghc/iserv-syms.patch
232
+ ++ final . lib . optionals (
233
+ final . stdenv . targetPlatform . isWindows || final . stdenv . targetPlatform . isMusl ||
234
+ ( ( final . stdenv . targetPlatform . isAndroid || final . stdenv . targetPlatform . isLinux )
235
+ && ( final . stdenv . targetPlatform . isAarch64 || final . stdenv . targetPlatform . is32bit ) ) )
236
+ ( fromUntil "9.6.1" "9.11" ./patches/ghc/iserv-syms.patch )
233
237
++ onAndroid ( until "9.0" ./patches/ghc/ghc-8.10.7-weak-symbols-2.patch )
234
238
++ onDarwin ( onAarch64 ( until "9.0" ./patches/ghc/ghc-8.10.7-rts-aarch64-darwin.patch ) )
235
239
++ onAndroid ( onAarch32 ( until "9.2" ./patches/ghc/ghc-8.10-android.patch ) )
You can’t perform that action at this time.
0 commit comments