Resolving dependencies... Configuring mtl-2.2.1... Configuring network-2.6.3.1... Building mtl-2.2.1... Building network-2.6.3.1... Installed mtl-2.2.1 Configuring syb-0.6... Building syb-0.6... Configuring text-1.2.2.1... Installed syb-0.6 Building text-1.2.2.1... Installed network-2.6.3.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring network-uri-2.6.1.0... Configuring json-0.9.1... Building network-uri-2.6.1.0... Building json-0.9.1... Installed network-uri-2.6.1.0 Configuring HTTP-4000.3.3... Building HTTP-4000.3.3... Installed json-0.9.1 Installed HTTP-4000.3.3 Configuring g-npm-0.1.0... Building g-npm-0.1.0... Failed to install g-npm-0.1.0 Build log ( /home/builder/.cabal/logs/g-npm-0.1.0.log ): cabal: Entering directory '/tmp/cabal-tmp-27365/g-npm-0.1.0' Configuring g-npm-0.1.0... Building g-npm-0.1.0... Preprocessing executable 'g-npm' for g-npm-0.1.0... [1 of 2] Compiling Npm ( src/Npm.hs, dist/build/g-npm/g-npm-tmp/Npm.o ) [2 of 2] Compiling Main ( src/Main.hs, dist/build/g-npm/g-npm-tmp/Main.o ) src/Main.hs:8: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-27365/g-npm-0.1.0' cabal: Error: some packages failed to install: g-npm-0.1.0 failed during the building phase. The exception was: ExitFailure 1