Resolving dependencies... Downloading shell-pipe-0.1... [1 of 1] Compiling Main ( /tmp/shell-pipe-0.1-26722/shell-pipe-0.1/Setup.lhs, /tmp/shell-pipe-0.1-26722/shell-pipe-0.1/dist/setup/Main.o ) Linking /tmp/shell-pipe-0.1-26722/shell-pipe-0.1/dist/setup/setup ... Configuring shell-pipe-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: Instead of 'ghc-options: -cpp -cpp -cpp -cpp' use 'extensions: CPP CPP CPP CPP' Building shell-pipe-0.1... Preprocessing library shell-pipe-0.1... Shell.hs:1:12: Warning: -ffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead [1 of 1] Compiling Shell ( Shell.hs, dist/build/Shell.o ) Shell.hs:8:19: Module `GHC.Handle' does not export `openFd' Failed to install shell-pipe-0.1 cabal: Error: some packages failed to install: shell-pipe-0.1 failed during the building phase. The exception was: ExitFailure 1