Resolving dependencies... Configuring rangemin-1.1.0... Building rangemin-1.1.0... Failed to install rangemin-1.1.0 Build log ( /home/builder/.cabal/logs/rangemin-1.1.0.log ): cabal: Entering directory '/tmp/cabal-tmp-9850/rangemin-1.1.0' Configuring rangemin-1.1.0... Building rangemin-1.1.0... Preprocessing library rangemin-1.1.0... on the commandline: warning: -fglasgow-exts is deprecated: Use individual extensions instead on the commandline: warning: The -fvia-c flag does nothing; it will be removed in a future GHC release Data/RangeMin/Internal/HandyList.hs:2:16: warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 6] Compiling Data.RangeMin.Internal.HandyNumeric ( Data/RangeMin/Internal/HandyNumeric.hs, dist/build/Data/RangeMin/Internal/HandyNumeric.o ) Data/RangeMin/Internal/HandyNumeric.hs:8:1: error: Failed to load interface for ‘GHC.Prim’ It is a member of the hidden package ‘ghc-prim-0.5.0.0’. Perhaps you need to add ‘ghc-prim’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-9850/rangemin-1.1.0' cabal: Error: some packages failed to install: rangemin-1.1.0 failed during the building phase. The exception was: ExitFailure 1