@@ -143,7 +143,11 @@ pairToExp _root (path, bs) = do
143143 qAddDependentFile $ _root ++ '/' : path
144144#endif
145145 exp' <- bsToExp bs
146− return $! TupE [LitE $ StringL path, exp']
146+ return $! TupE
147+#if MIN_VERSION_template_haskell(2,16,0)
148+ $ map Just
149+#endif
150+ [LitE $ StringL path, exp']
147151
148152bsToExp :: B.ByteString -> Q Exp
149153#if MIN_VERSION_template_haskell(2, 5, 0)