cabal install ihaskell.cabal fails

The command

    cabal install ihaskell.cabal

fails.

Here is the end of the build log:

```
[14 of 15] Compiling IHaskell.Eval.Completion ( src/IHaskell/Eval/Completion.hs, dist/build/IHaskell/IHaskell-tmp/IHaskell/Eval/Completion.o )
[15 of 15] Compiling Main             ( src/Main.hs, dist/build/IHaskell/IHaskell-tmp/Main.o )
Linking dist/build/IHaskell/IHaskell 
cabal: profile/profile.tar: does not exist
Failed to install ihaskell-0.3.0.4
cabal: Error: some packages failed to install:
ihaskell-0.3.0.4 failed during the final install step. The exception was:
ExitFailure 1
```

Changing the build type from *Simple* to *Custom* solves the problem.