Resolving dependencies... Downloading haddock-0.8... [1 of 1] Compiling Main ( /tmp/haddock-0.8-13531/haddock-0.8/Setup.lhs, /tmp/haddock-0.8-13531/haddock-0.8/dist/setup/Main.o ) Linking /tmp/haddock-0.8-13531/haddock-0.8/dist/setup/setup ... Configuring haddock-0.8... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building haddock-0.8... Preprocessing executable 'haddock' for haddock-0.8... shift/reduce conflicts: 5 src/Main.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Main.hs:49:8: Could not find module `System.Directory' It is a member of the hidden package `directory-1.2.0.1'. 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. Failed to install haddock-0.8 cabal: Error: some packages failed to install: haddock-0.8 failed during the building phase. The exception was: ExitFailure 1