[commit: ghc] wip/nfs-locking: Fix Config.hs to import GhcPrelude (#417) (fcdecad)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:42:42 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/fcdecad4f1ab2f5a6126013004211acef23cf775/ghc

>---------------------------------------------------------------

commit fcdecad4f1ab2f5a6126013004211acef23cf775
Author: Zhen Zhang <izgzhen at gmail.com>
Date:   Thu Sep 21 00:47:21 2017 +0800

    Fix Config.hs to import GhcPrelude (#417)


>---------------------------------------------------------------

fcdecad4f1ab2f5a6126013004211acef23cf775
 src/Rules/Generate.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Rules/Generate.hs b/src/Rules/Generate.hs
index 413abe5..e777e1b 100644
--- a/src/Rules/Generate.hs
+++ b/src/Rules/Generate.hs
@@ -291,6 +291,8 @@ generateConfigHs = do
         [ "{-# LANGUAGE CPP #-}"
         , "module Config where"
         , ""
+        , "import GhcPrelude"
+        , ""
         , "#include \"ghc_boot_platform.h\""
         , ""
         , "data IntegerLibrary = IntegerGMP"



More information about the ghc-commits mailing list