File ghc-with-interpreter.patch of Package ghc

Index: ghc-9.4.5/hadrian/src/Oracles/Setting.hs
===================================================================
--- ghc-9.4.5.orig/hadrian/src/Oracles/Setting.hs
+++ ghc-9.4.5/hadrian/src/Oracles/Setting.hs
@@ -292,7 +292,8 @@ ghcWithInterpreter = do
                           , "darwin", "kfreebsdgnu" ]
     goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc"
                               , "arm", "aarch64", "s390x"
-                              , "powerpc64", "powerpc64le" ]
+                              , "powerpc64", "powerpc64le"
+                              , "riscv64" ]
     return $ goodOs && goodArch
 
 -- | Variants of the ARM architecture.
openSUSE Build Service is sponsored by