Skip to content

Commit a6ad46d

Browse files
committed
Fixes for armv7a
1 parent 4eae1c1 commit a6ad46d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

compiler/ghc/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ let
236236
if targetPlatform.isGhcjs
237237
then [ buildPackages.emscripten ]
238238
else if hostPlatform == buildPlatform
239-
then [ targetPackages.stdenv.cc ] ++ lib.optionals useLLVM [llvmPackages.llvm llvmPackages.clang]
239+
then [ targetPackages.stdenv.cc ] ++ lib.optional useLLVM llvmPackages.llvm
240240
else assert targetPlatform == hostPlatform; # build != host == target
241241
[ stdenv.cc ] ++ lib.optional useLLVM buildLlvmPackages.llvm;
242242

overlays/bootstrap.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ in {
204204
++ onWindows (fromUntil "9.8" "9.8.2" ./patches/ghc/ghc-9.6-fix-code-symbol-jumps.patch)
205205
# this one is to allow linking extra symbols from iserv.
206206
# ++ fromUntil "9.6.1" "9.10" ./patches/ghc/iserv-syms.patch
207+
++ on32bit (fromUntil "9.6" "9.14" ./patches/ghc/ghc-9.6-genapply-cross-arch.patch)
207208
# Fix the bad fixups: https://gitlab.haskell.org/ghc/ghc/-/commit/2adc050857a9c1b992040fbfd55fbe65b2851b19
208209
++ onAarch64 (fromUntil "9.6" "9.6.4" ./patches/ghc/2adc050857a9c1b992040fbfd55fbe65b2851b19.patch)
209210

@@ -229,7 +230,7 @@ in {
229230
++ onMusl (onAarch64 (fromUntil "9.4" "9.8" ./patches/ghc/ghc-9.6-hadrian-strip-cmd.patch))
230231
++ onMusl (onAarch64 (fromUntil "9.8" "9.10" ./patches/ghc/ghc-9.8-hadrian-strip-cmd.patch))
231232
++ onMusl (onAarch64 (fromUntil "9.10" "9.12" ./patches/ghc/ghc-9.10-hadrian-strip-cmd.patch))
232-
++ on32bit (fromUntil "9.0" "9.4" ./patches/ghc/ghc-9.6-32bit-cmm.patch)
233+
++ on32bit (fromUntil "9.0" "9.14" ./patches/ghc/ghc-9.6-32bit-cmm.patch)
233234
++ onAndroid (fromUntil "9.6.3" "9.8.3" ./patches/ghc/ghc-9.6-iog.patch)
234235
++ onAndroid (fromUntil "9.8.3" "9.10" ./patches/ghc/ghc-9.8.3-iog.patch)
235236
++ onAndroid (fromUntil "9.6" "9.9" ./patches/ghc/ghc-9.6-debug-secno.patch)
@@ -889,8 +890,8 @@ in {
889890
};
890891
inherit sphinx;
891892

892-
buildLlvmPackages = final.buildPackages.llvmPackages_15;
893-
llvmPackages = final.llvmPackages_15;
893+
buildLlvmPackages = final.buildPackages.xllvmPackages_18;
894+
llvmPackages = final.xllvmPackages_18;
894895

895896
src-spec.file = final.haskell-nix.sources.ghc9101;
896897
src-spec.version = "9.10.1";

0 commit comments

Comments
 (0)