Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-10732/nano-md5-0.1/dist/setup/setup.hs, /tmp/cabal-tmp-10732/nano-md5-0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-10732/nano-md5-0.1/dist/setup/setup ... Configuring nano-md5-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building nano-md5-0.1... Preprocessing library nano-md5-0.1... : Failing due to -Werror. on the commandline: Warning: The -fvia-C flag does nothing; it will be removed in a future GHC release Failed to install nano-md5-0.1 cabal: Error: some packages failed to install: nano-md5-0.1 failed during the building phase. The exception was: ExitFailure 1