Resolving dependencies... Configuring integer-logarithms-1.0.2... Configuring mtl-2.2.1... Building integer-logarithms-1.0.2... Building mtl-2.2.1... Installed integer-logarithms-1.0.2 Configuring parser-combinators-0.2.0... Building parser-combinators-0.2.0... Configuring primitive-0.6.2.0... Installed mtl-2.2.1 Configuring text-1.2.2.2... Installed parser-combinators-0.2.0 Building primitive-0.6.2.0... Building text-1.2.2.2... Installed primitive-0.6.2.0 Installed text-1.2.2.2 Configuring hashable-1.2.6.1... Building hashable-1.2.6.1... Installed hashable-1.2.6.1 Configuring case-insensitive-1.2.0.10... Configuring scientific-0.3.5.1... Building scientific-0.3.5.1... Building case-insensitive-1.2.0.10... Installed case-insensitive-1.2.0.10 Installed scientific-0.3.5.1 Configuring megaparsec-6.1.0... Building megaparsec-6.1.0... Installed megaparsec-6.1.0 Configuring nmis-parser-0.1.0.0... Building nmis-parser-0.1.0.0... Failed to install nmis-parser-0.1.0.0 Build log ( /home/builder/.cabal/logs/nmis-parser-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-29610/nmis-parser-0.1.0.0' Configuring nmis-parser-0.1.0.0... Building nmis-parser-0.1.0.0... Preprocessing library nmis-parser-0.1.0.0... [1 of 3] Compiling Text.Internal.NmisTypes ( src/Text/Internal/NmisTypes.hs, dist/build/Text/Internal/NmisTypes.o ) [2 of 3] Compiling Text.Internal.Helper ( src/Text/Internal/Helper.hs, dist/build/Text/Internal/Helper.o ) src/Text/Internal/Helper.hs:19:1: error: Failed to load interface for ‘Text.Megaparsec.Lexer’ Perhaps you meant Text.Megaparsec.Expr (from megaparsec-6.1.0) Text.Megaparsec.Byte (from megaparsec-6.1.0) Text.Megaparsec.Char (from megaparsec-6.1.0) Use -v to see a list of the files searched for. src/Text/Internal/Helper.hs:20:1: error: Failed to load interface for ‘Text.Megaparsec.String’ Perhaps you meant Text.Megaparsec.Stream (from megaparsec-6.1.0) Text.Megaparsec.Error (from megaparsec-6.1.0) Text.Megaparsec.Perm (from megaparsec-6.1.0) Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-29610/nmis-parser-0.1.0.0' cabal: Error: some packages failed to install: nmis-parser-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1