Resolving dependencies... Configuring serialport-0.4.7... Configuring mtl-2.2.1... Building serialport-0.4.7... Building mtl-2.2.1... Installed serialport-0.4.7 Installed mtl-2.2.1 Downloading NXT-0.2.0... Configuring NXT-0.2.0... Building NXT-0.2.0... Failed to install NXT-0.2.0 Build log ( /home/builder/.cabal/logs/NXT-0.2.0.log ): cabal: Entering directory '/tmp/cabal-tmp-9433/NXT-0.2.0' Configuring NXT-0.2.0... Building NXT-0.2.0... Preprocessing library NXT-0.2.0... [ 1 of 12] Compiling Robotics.NXT.Externals ( lib/Robotics/NXT/Externals.hs, dist/build/Robotics/NXT/Externals.dyn_o ) [ 2 of 12] Compiling Robotics.NXT.Internals ( lib/Robotics/NXT/Internals.hs, dist/build/Robotics/NXT/Internals.dyn_o ) lib/Robotics/NXT/Internals.hs:15:58: error: • No instance for (Applicative NXT) arising from the 'deriving' clause of a data type declaration Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself • When deriving the instance for (Monad NXT) cabal: Leaving directory '/tmp/cabal-tmp-9433/NXT-0.2.0' cabal: Error: some packages failed to install: NXT-0.2.0 failed during the building phase. The exception was: ExitFailure 1