From 1eb64f02499ef9b1e67c500ade67d03ee084fbfc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 Mar 2023 11:43:55 -0400 Subject: [PATCH] fix OSx build better --- Utility/DirWatcher/FSEvents.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/DirWatcher/FSEvents.hs b/Utility/DirWatcher/FSEvents.hs index 1559b7eabc..107b73e8fb 100644 --- a/Utility/DirWatcher/FSEvents.hs +++ b/Utility/DirWatcher/FSEvents.hs @@ -90,7 +90,7 @@ watchDir dir ignored scanevents hooks = do where runhook h s = maybe noop (\a -> a f s) (h hooks) - getstatus = catchMaybeIO . R.getSymbolicLinkStatus . fromRawFilePath + getstatus = catchMaybeIO . R.getSymbolicLinkStatus . toRawFilePath {- Check each component of the path to see if it's ignored. -} ignoredPath :: (FilePath -> Bool) -> FilePath -> Bool