From 7d4a57455b0e0e5a866767bed6e703bbca4c5045 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Tue, 11 Jun 2024 10:51:53 +0100 Subject: [PATCH] Use TemplateHaskellQuotes rather than TemplateHaskell extension TemplateHaskell can't be used in boot libraries as not all platforms support evaluating Template Haskell splices. Therefore we should use TemplateHaskellQuotes to be more precise about the requirements which a module places on the host system. --- System/OsString/Internal/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/OsString/Internal/Types.hs b/System/OsString/Internal/Types.hs index 5cb00b3..390284b 100644 --- a/System/OsString/Internal/Types.hs +++ b/System/OsString/Internal/Types.hs @@ -2,7 +2,7 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE PackageImports #-} {-# LANGUAGE RankNTypes #-} -{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TemplateHaskellQuotes #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeApplications #-}