Skip to content

Commit b8685d0

Browse files
haskell.compiler.*: NCG is no longer available on sparc for >= 9.4
https://downloads.haskell.org/~ghc/9.4.1/docs/users_guide/9.4.1-notes.html
1 parent b548020 commit b8685d0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkgs/development/compilers/ghc/common-hadrian.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
, useLLVM ? !(stdenv.targetPlatform.isx86
4343
|| stdenv.targetPlatform.isPower
44-
|| stdenv.targetPlatform.isSparc
4544
|| stdenv.targetPlatform.isAarch64
4645
|| stdenv.targetPlatform.isGhcjs
4746
|| (lib.versionAtLeast version "9.12" && stdenv.targetPlatform.isRiscV64))

pkgs/development/compilers/ghc/common-make-native-bignum.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
!(
3939
stdenv.targetPlatform.isx86
4040
|| stdenv.targetPlatform.isPower
41-
|| stdenv.targetPlatform.isSparc
41+
|| (lib.versionOlder version "9.4" && stdenv.targetPlatform.isSparc)
4242
|| (lib.versionAtLeast version "9.2" && stdenv.targetPlatform.isAarch64)
4343
),
4444
# LLVM is conceptually a run-time-only dependency, but for

0 commit comments

Comments
 (0)