libraries/directory/System/Directory.hs:1548:10: error:
• Couldn't match type ‘UTCTime’
with ‘time-1.6:Data.Time.Clock.UTC.NominalDiffTime’
Expected type: Data.Time.Clock.POSIX.POSIXTime
Actual type: UTCTime
• In the second argument of ‘setFileTimes’, namely
‘(fromMaybe atimeOld atime')’
In a stmt of a 'do' block:
setFileTimes
path' (fromMaybe atimeOld atime') (fromMaybe mtimeOld mtime')
In the expression:
do { (atimeOld, mtimeOld) <- fileTimesFromStatus
<$> Posix.getFileStatus path';
setFileTimes
path' (fromMaybe atimeOld atime') (fromMaybe mtimeOld mtime') }
libraries/directory/System/Directory.hs:1548:29: error:
• Couldn't match type ‘time-1.6:Data.Time.Clock.UTC.NominalDiffTime’
with ‘UTCTime’
Expected type: Maybe UTCTime
Actual type: Maybe Data.Time.Clock.POSIX.POSIXTime
• In the second argument of ‘fromMaybe’, namely ‘atime'’
In the second argument of ‘setFileTimes’, namely
‘(fromMaybe atimeOld atime')’
In a stmt of a 'do' block:
setFileTimes
path' (fromMaybe atimeOld atime') (fromMaybe mtimeOld mtime')
libraries/directory/System/Directory.hs:1549:10: error:
• Couldn't match type ‘UTCTime’
with ‘time-1.6:Data.Time.Clock.UTC.NominalDiffTime’
Expected type: Data.Time.Clock.POSIX.POSIXTime
Actual type: UTCTime
• In the third argument of ‘setFileTimes’, namely
‘(fromMaybe mtimeOld mtime')’
In a stmt of a 'do' block:
setFileTimes
path' (fromMaybe atimeOld atime') (fromMaybe mtimeOld mtime')
In the expression:
do { (atimeOld, mtimeOld) <- fileTimesFromStatus
<$> Posix.getFileStatus path';
setFileTimes
path' (fromMaybe atimeOld atime') (fromMaybe mtimeOld mtime') }
libraries/directory/System/Directory.hs:1549:29: error:
• Couldn't match type ‘time-1.6:Data.Time.Clock.UTC.NominalDiffTime’
with ‘UTCTime’
Expected type: Maybe UTCTime
Actual type: Maybe Data.Time.Clock.POSIX.POSIXTime
• In the second argument of ‘fromMaybe’, namely ‘mtime'’
In the third argument of ‘setFileTimes’, namely
‘(fromMaybe mtimeOld mtime')’
In a stmt of a 'do' block:
setFileTimes
path' (fromMaybe atimeOld atime') (fromMaybe mtimeOld mtime')