From 09bedc24218e5ee13232ab9647254d1f9c31952c Mon Sep 17 00:00:00 2001 From: Ilias Tsitsimpis Date: Wed, 13 Dec 2023 12:28:47 +0200 Subject: [PATCH] Enable GHCi on all platforms in Debian Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/24098 Gbp-Pq: Name hadrian-enable-interpreter --- hadrian/src/Oracles/Setting.hs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs index b75977c2..4f171cb3 100644 --- a/hadrian/src/Oracles/Setting.hs +++ b/hadrian/src/Oracles/Setting.hs @@ -287,13 +287,8 @@ hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd"] -- | Check whether the target supports GHCi. ghcWithInterpreter :: Action Bool ghcWithInterpreter = do - goodOs <- anyTargetOs [ "mingw32", "cygwin32", "linux", "solaris2" - , "freebsd", "dragonfly", "netbsd", "openbsd" - , "darwin", "kfreebsdgnu" ] - goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc" - , "arm", "aarch64", "s390x" - , "powerpc64", "powerpc64le" ] - return $ goodOs && goodArch + -- Enable GHCi on all platforms for Debian + return True -- | Variants of the ARM architecture. data ArmVersion = ARMv5 | ARMv6 | ARMv7 -- 2.30.2