Skip to content

Commit

Permalink
Fix compat with text-2.1.2 (closes #116)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Oct 29, 2024
1 parent 6bcdc3b commit 51e3bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/System/FSNotify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import Control.Concurrent.Async
import Control.Exception.Safe as E
import Control.Monad
import Control.Monad.IO.Class
import Data.Text as T
import qualified Data.Text as T
import System.FSNotify.Polling
import System.FSNotify.Types
import System.FilePath
Expand Down Expand Up @@ -169,7 +169,7 @@ startManagerConf conf = do

where
#ifndef OS_BSD
createManager :: Either Text NativeManager -> IO WatchManager
createManager :: Either T.Text NativeManager -> IO WatchManager
createManager (Right nativeManager) = WatchManager conf nativeManager <$> globalWatchChan
createManager (Left err) = throwIO $ userError $ T.unpack $ "Error: couldn't start native file manager: " <> err
#endif
Expand Down

0 comments on commit 51e3bed

Please sign in to comment.