Resolving dependencies... Configuring erf-2.0.0.0... Configuring microlens-0.4.9.1... Building erf-2.0.0.0... Building microlens-0.4.9.1... Installed erf-2.0.0.0 Configuring primitive-0.6.4.0... Building primitive-0.6.4.0... Installed microlens-0.4.9.1 Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring validity-0.7.0.0... Building validity-0.7.0.0... Installed validity-0.7.0.0 Configuring validity-text-0.3.1.0... Building validity-text-0.3.1.0... Installed validity-text-0.3.1.0 Configuring validity-containers-0.3.1.0... Building validity-containers-0.3.1.0... Installed validity-containers-0.3.1.0 Configuring cursor-0.0.0.0... Installed primitive-0.6.4.0 Configuring tf-random-0.5... Building cursor-0.0.0.0... Building tf-random-0.5... Failed to install cursor-0.0.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/cursor-0.0.0.0-GR3lE6ua0HhGAaJho0Iqas.log ): cabal: Entering directory '/tmp/cabal-tmp-11431/cursor-0.0.0.0' Configuring cursor-0.0.0.0... Preprocessing library for cursor-0.0.0.0.. Building library for cursor-0.0.0.0.. [ 1 of 25] Compiling Cursor.List ( src/Cursor/List.hs, dist/build/Cursor/List.o ) [ 2 of 25] Compiling Cursor.Map.KeyValue ( src/Cursor/Map/KeyValue.hs, dist/build/Cursor/Map/KeyValue.o ) [ 3 of 25] Compiling Cursor.Simple.Map.KeyValue ( src/Cursor/Simple/Map/KeyValue.hs, dist/build/Cursor/Simple/Map/KeyValue.o ) [ 4 of 25] Compiling Cursor.Text ( src/Cursor/Text.hs, dist/build/Cursor/Text.o ) src/Cursor/Text.hs:48:15: error: Variable not in scope: decorateList :: [Char] -> (Char -> Validation) -> Validation | 48 | , decorateList (rebuildListCursor lc) $ \c -> | ^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-11431/cursor-0.0.0.0' Installed tf-random-0.5 cabal: Error: some packages failed to install: cursor-0.0.0.0-GR3lE6ua0HhGAaJho0Iqas failed during the building phase. The exception was: ExitFailure 1 cursor-gen-0.0.0.0-AbFJOX3ch582oSZlKSYQLk depends on cursor-gen-0.0.0.0 which failed to install.