Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting megaparsec-4.4.0 Building megaparsec-4.4.0 Completed megaparsec-4.4.0 Starting nmis-parser-0.1.0.2 Building nmis-parser-0.1.0.2 Failed to install nmis-parser-0.1.0.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/nmis-parser-0.1.0.2-L6EDu7oA7DZ22IdMs4x2tt.log ): cabal: Entering directory '/tmp/cabal-tmp-23320/nmis-parser-0.1.0.2' Configuring nmis-parser-0.1.0.2... Preprocessing library for nmis-parser-0.1.0.2.. Building library for nmis-parser-0.1.0.2.. [1 of 3] Compiling Text.Internal.Helper ( src/Text/Internal/Helper.hs, dist/build/Text/Internal/Helper.o ) src/Text/Internal/Helper.hs:61:27: error: Not in scope: type constructor or class ‘Dec’ | 61 | until :: String -> Parsec Dec String String | ^^^ src/Text/Internal/Helper.hs:65:20: error: Not in scope: type constructor or class ‘Dec’ | 65 | untilEol :: Parsec Dec String String | ^^^ cabal: Leaving directory '/tmp/cabal-tmp-23320/nmis-parser-0.1.0.2' cabal: Error: some packages failed to install: nmis-parser-0.1.0.2-L6EDu7oA7DZ22IdMs4x2tt failed during the building phase. The exception was: ExitFailure 1