Resolving dependencies... Configuring vty-3.0.2... Building vty-3.0.2... Failed to install vty-3.0.2 Build log ( /home/builder/.cabal/logs/vty-3.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-713/vty-3.0.2' Configuring vty-3.0.2... Building vty-3.0.2... Preprocessing library vty-3.0.2... Graphics/Vty.hs:1:16: warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead Graphics/Vty/Cursor.hs:1:16: warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead [1 of 4] Compiling Graphics.Vty.Types ( Graphics/Vty/Types.hs, dist/build/Graphics/Vty/Types.o ) [2 of 4] Compiling Graphics.Vty.LLInput ( Graphics/Vty/LLInput.hs, dist/build/Graphics/Vty/LLInput.o ) Graphics/Vty/LLInput.hs:71:9: error: • Variable not in scope: catch :: IO Char -> (t0 -> IO Char) -> t • Perhaps you meant data constructor ‘Catch’ (imported from System.Posix.Signals) cabal: Leaving directory '/tmp/cabal-tmp-713/vty-3.0.2' cabal: Error: some packages failed to install: hspresent-0.2.2 depends on vty-3.0.2 which failed to install. vty-3.0.2 failed during the building phase. The exception was: ExitFailure 1