Resolving dependencies... Configuring filepath-1.3.0.1... Configuring mtl-2.2.1... Building filepath-1.3.0.1... Building mtl-2.2.1... Installed filepath-1.3.0.1 Configuring stm-2.4.4.1... Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed mtl-2.2.1 Building text-1.2.2.1... Configuring unix-compat-0.4.3.1... Installed stm-2.4.4.1 Building unix-compat-0.4.3.1... Configuring directory-1.3.0.0... Installed unix-compat-0.4.3.1 Building directory-1.3.0.0... Installed directory-1.3.0.0 Configuring filemanip-0.3.6.3... Building filemanip-0.3.6.3... Configuring async-2.1.1... Installed filemanip-0.3.6.3 Building async-2.1.1... Installed async-2.1.1 Configuring hinotify-0.3.9... Building hinotify-0.3.9... Installed text-1.2.2.1 Configuring system-filepath-0.4.13.4... Installed hinotify-0.3.9 Configuring fsnotify-0.2.1... Building system-filepath-0.4.13.4... Building fsnotify-0.2.1... Installed fsnotify-0.2.1 Installed system-filepath-0.4.13.4 Configuring hobbes-0.2.2... Building hobbes-0.2.2... Failed to install hobbes-0.2.2 Build log ( /home/builder/.cabal/logs/hobbes-0.2.2.log ): cabal: Entering directory '/tmp/cabal-tmp-13224/hobbes-0.2.2' Configuring hobbes-0.2.2... Building hobbes-0.2.2... Preprocessing executable 'hobbes' for hobbes-0.2.2... [1 of 1] Compiling Main ( Hobbes.hs, dist/build/hobbes/hobbes-tmp/Main.o ) Hobbes.hs:37:21: error: • Couldn't match type ‘system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath’ with ‘[Char]’ Expected type: FilePath Actual type: system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath • In the second argument of ‘watchTree’, namely ‘(fromText $ pack dir)’ In a stmt of a 'do' block: watchTree m (fromText $ pack dir) (globModified glob) printPath In the expression: do { watchTree m (fromText $ pack dir) (globModified glob) printPath; forever $ threadDelay 1000000 } Hobbes.hs:46:73: error: • Couldn't match type ‘[Char]’ with ‘system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath’ Expected type: Event -> system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath Actual type: Event -> FilePath • In the second argument of ‘(.)’, namely ‘eventPath’ In the second argument of ‘(.)’, namely ‘encodeString . eventPath’ In the second argument of ‘(.)’, namely ‘takeFileName . encodeString . eventPath’ Hobbes.hs:49:39: error: • Couldn't match type ‘[Char]’ with ‘system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath’ Expected type: Event -> system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath Actual type: Event -> FilePath • In the second argument of ‘(.)’, namely ‘eventPath’ In the second argument of ‘(.)’, namely ‘encodeString . eventPath’ In the expression: putStrLn . encodeString . eventPath cabal: Leaving directory '/tmp/cabal-tmp-13224/hobbes-0.2.2' cabal: Error: some packages failed to install: hobbes-0.2.2 failed during the building phase. The exception was: ExitFailure 1