Resolving dependencies... Configuring judy-0.1... Building judy-0.1... Preprocessing library judy-0.1... on the commandline: Warning: The -fvia-C flag does nothing; it will be removed in a future GHC release [1 of 1] Compiling Data.Judy ( dist/build/Data/Judy.hs, dist/build/Data/Judy.o ) Data/Judy.hsc:79:1: Failed to load interface for ‘GHC.Prim’ It is a member of the hidden package ‘ghc-prim-0.4.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. Failed to install judy-0.1 cabal: Error: some packages failed to install: judy-0.1 failed during the building phase. The exception was: ExitFailure 1