diff --git a/changelog.md b/changelog.md
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,9 @@
 # Changelog for commonmark
 
+## 0.1.1.4
+
+* Fix build with GHC 9.0.1 (Simon Jakobi, #72).
+
 ## 0.1.1.3
 
 * Fix bug in links with spaces at the beginning or end of
diff --git a/commonmark.cabal b/commonmark.cabal
--- a/commonmark.cabal
+++ b/commonmark.cabal
@@ -1,6 +1,6 @@
 cabal-version:  2.2
 name:           commonmark
-version:        0.1.1.3
+version:        0.1.1.4
 synopsis:       Pure Haskell commonmark parser.
 description:
    This library provides the core data types and functions
diff --git a/src/Commonmark/Inlines.hs b/src/Commonmark/Inlines.hs
--- a/src/Commonmark/Inlines.hs
+++ b/src/Commonmark/Inlines.hs
@@ -330,11 +330,11 @@
 pChunk specmap attrParser ilParsers isDelimChar =
  do pos <- getPosition
     (res, ts) <- withRaw $
-         {-# SCC attrParser #-} (AddAttributes <$> attrParser)
+         ({-# SCC attrParser #-} AddAttributes <$> attrParser)
          <|>
          {-# SCC pInline #-} (Parsed <$> pInline ilParsers)
     return $! Chunk res pos ts
-  <|> {-# SCC pDelimChunk #-} pDelimChunk specmap isDelimChar
+  <|> ({-# SCC pDelimChunk #-} pDelimChunk specmap isDelimChar)
   <|> (do t <- anyTok
           endpos <- getPosition
           return $! Chunk
