Resolving dependencies... Configuring stm-2.4.4.1... Building stm-2.4.4.1... Installed stm-2.4.4.1 Configuring async-2.1.1... Building async-2.1.1... Installed async-2.1.1 Configuring hinotify-0.3.9... Building hinotify-0.3.9... Installed hinotify-0.3.9 Downloading watcher-0.0.1... Configuring watcher-0.0.1... Building watcher-0.0.1... Failed to install watcher-0.0.1 Build log ( /home/builder/.cabal/logs/watcher-0.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-10748/watcher-0.0.1' Configuring watcher-0.0.1... Warning: 'ghc-options: -rtsopts' has no effect for libraries. It should only be used for executables. Building watcher-0.0.1... Preprocessing library watcher-0.0.1... [1 of 1] Compiling Watcher ( src/Watcher.hs, dist/build/Watcher.o ) src/Watcher.hs:12:1: error: Failed to load interface for ‘Data.Map’ It is a member of the hidden package ‘containers-0.5.7.1’. Perhaps you need to add ‘containers’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/Watcher.hs:13:1: error: Failed to load interface for ‘Data.Map’ It is a member of the hidden package ‘containers-0.5.7.1’. Perhaps you need to add ‘containers’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/Watcher.hs:16:1: error: Failed to load interface for ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.6.2’. Perhaps you need to add ‘directory’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-10748/watcher-0.0.1' cabal: Error: some packages failed to install: watcher-0.0.1 failed during the building phase. The exception was: ExitFailure 1