diff --git a/GHC/ForeignSrcLang/Type.hs b/GHC/ForeignSrcLang/Type.hs
--- a/GHC/ForeignSrcLang/Type.hs
+++ b/GHC/ForeignSrcLang/Type.hs
@@ -3,8 +3,15 @@
   ( ForeignSrcLang(..)
   ) where
 
+import Prelude -- See note [Why do we import Prelude here?]
 import GHC.Generics (Generic)
 
+-- | Foreign formats supported by GHC via TH
 data ForeignSrcLang
-  = LangC | LangCxx | LangObjc | LangObjcxx | RawObject
+  = LangC      -- ^ C
+  | LangCxx    -- ^ C++
+  | LangObjc   -- ^ Objective C
+  | LangObjcxx -- ^ Objective C++
+  | LangAsm    -- ^ Assembly language (.s)
+  | RawObject  -- ^ Object (.o)
   deriving (Eq, Show, Generic)
diff --git a/GHC/LanguageExtensions/Type.hs b/GHC/LanguageExtensions/Type.hs
--- a/GHC/LanguageExtensions/Type.hs
+++ b/GHC/LanguageExtensions/Type.hs
@@ -11,6 +11,7 @@
 {-# LANGUAGE DeriveGeneric #-}
 module GHC.LanguageExtensions.Type ( Extension(..) ) where
 
+import Prelude -- See note [Why do we import Prelude here?]
 import GHC.Generics
 
 -- | The language extensions known to GHC.
@@ -138,4 +139,4 @@
    | NumericUnderscores
    | QuantifiedConstraints
    | StarIsType
-   deriving (Eq, Enum, Show, Generic)
+   deriving (Eq, Enum, Show, Generic, Bounded)
diff --git a/GHC/Lexeme.hs b/GHC/Lexeme.hs
--- a/GHC/Lexeme.hs
+++ b/GHC/Lexeme.hs
@@ -14,6 +14,7 @@
         startsVarSymASCII, isVarSymChar, okSymChar
   ) where
 
+import Prelude -- See note [Why do we import Prelude here?]
 import Data.Char
 
 -- | Is this character acceptable in a symbol (after the first char)?
diff --git a/ghc-boot-th.cabal b/ghc-boot-th.cabal
--- a/ghc-boot-th.cabal
+++ b/ghc-boot-th.cabal
@@ -1,10 +1,12 @@
+cabal-version:  >=1.10
 name:           ghc-boot-th
-version:        8.6.5
+version:        8.8.1
+
 license:        BSD3
 license-file:   LICENSE
 category:       GHC
 maintainer:     ghc-devs@haskell.org
-bug-reports:    https://ghc.haskell.org/trac/ghc/newticket
+bug-reports:    https://gitlab.haskell.org/ghc/ghc/issues
 synopsis:       Shared functionality between GHC and the `template-haskell`
                 library
 description:    This library contains various bits shared between the @ghc@ and
@@ -13,21 +15,21 @@
                 This package exists to ensure that @template-haskell@ has a
                 minimal set of transitive dependencies, since it is intended to
                 be depended upon by user code.
-cabal-version:  >=1.10
 build-type:     Simple
 
 source-repository head
     type:     git
-    location: http://git.haskell.org/ghc.git
+    location: https://gitlab.haskell.org/ghc/ghc.git
     subdir:   libraries/ghc-boot-th
 
 Library
     default-language: Haskell2010
     other-extensions: DeriveGeneric
+    default-extensions: NoImplicitPrelude
 
     exposed-modules:
             GHC.LanguageExtensions.Type
             GHC.ForeignSrcLang.Type
             GHC.Lexeme
 
-    build-depends: base       >= 4.7 && < 4.13
+    build-depends: base       >= 4.7 && < 4.14
