move 'cabal update' before installing core and lib