Resolving dependencies... Configuring stm-2.4.4.1... Configuring mtl-2.2.1... Building mtl-2.2.1... Building stm-2.4.4.1... Installed stm-2.4.4.1 Configuring text-1.2.2.1... Building text-1.2.2.1... Configuring unix-compat-0.4.3.1... Installed mtl-2.2.1 Building unix-compat-0.4.3.1... Configuring transformers-compat-0.5.1.4... Installed unix-compat-0.4.3.1 Building transformers-compat-0.5.1.4... Configuring async-2.1.1... Installed transformers-compat-0.5.1.4 Building async-2.1.1... Installed async-2.1.1 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Configuring mmorph-1.0.9... Installed regex-base-0.93.2 Building mmorph-1.0.9... Configuring exceptions-0.8.3... Installed mmorph-1.0.9 Building exceptions-0.8.3... Configuring hinotify-0.3.9... Installed text-1.2.2.1 Building hinotify-0.3.9... Installed exceptions-0.8.3 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed hinotify-0.3.9 Configuring system-filepath-0.4.13.4... Building system-filepath-0.4.13.4... Installed parsec-3.1.11 Configuring pipes-4.3.2... Building pipes-4.3.2... Configuring fsnotify-0.2.1... Installed system-filepath-0.4.13.4 Building fsnotify-0.2.1... Installed fsnotify-0.2.1 Configuring regex-tdfa-1.2.2... Building regex-tdfa-1.2.2... Installed pipes-4.3.2 Installed regex-tdfa-1.2.2 Configuring steeloverseer-0.2.0.0... Building steeloverseer-0.2.0.0... Failed to install steeloverseer-0.2.0.0 Build log ( /home/builder/.cabal/logs/steeloverseer-0.2.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-21020/steeloverseer-0.2.0.0' Configuring steeloverseer-0.2.0.0... Building steeloverseer-0.2.0.0... Preprocessing executable 'sos' for steeloverseer-0.2.0.0... [1 of 3] Compiling ANSIColors ( src/ANSIColors.hs, dist/build/sos/sos-tmp/ANSIColors.o ) [2 of 3] Compiling SOS ( src/SOS.hs, dist/build/sos/sos-tmp/SOS.o ) src/SOS.hs:35:20: error: • Couldn't match type ‘FilePath’ with ‘[Char]’ Expected type: GHC.IO.FilePath Actual type: FilePath • In the second argument of ‘watchTree’, namely ‘dir’ In the expression: watchTree wm dir predicate action In a stmt of a 'do' block: let predicate = actionPredicateForRegexes exts action = performCommand mvar cmds in watchTree wm dir predicate action src/SOS.hs:49:36: error: • Couldn't match type ‘[Char]’ with ‘FilePath’ Expected type: FilePath Actual type: GHC.IO.FilePath • In the second argument of ‘($)’, namely ‘eventPath event’ In the expression: toText $ eventPath event In the expression: case toText $ eventPath event of { Left f -> unpack f Right f -> unpack f } src/SOS.hs:54:64: error: • Couldn't match type ‘[Char]’ with ‘FilePath’ Expected type: FilePath Actual type: GHC.IO.FilePath • In the second argument of ‘($)’, namely ‘eventPath event’ In the expression: extension $ eventPath event In an equation for ‘maybeExt’: maybeExt = extension $ eventPath event cabal: Leaving directory '/tmp/cabal-tmp-21020/steeloverseer-0.2.0.0' cabal: Error: some packages failed to install: steeloverseer-0.2.0.0 failed during the building phase. The exception was: ExitFailure 1