Resolving dependencies... 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.LLInput ( Graphics/Vty/LLInput.hs, dist/build/Graphics/Vty/LLInput.o ) Graphics/Vty/LLInput.hs:71:9: Not in scope: ‘catch’ Perhaps you meant data constructor ‘Catch’ (imported from System.Posix.Signals) Failed to install 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