movePackage :: PackageIdentifier -> Hsenv ()
movePackage pkgInfo = do
  let prettyPkg = prettyPkgInfo pkgInfo
  debug $ "Moving package " ++ prettyPkg ++ " to Virtual Haskell Environment."
  out <- outsideGhcPkg ["describe", prettyPkg] Nothing
  _ <- insideGhcPkg ["register", "-"] (Just out)
  return ()
movePackage :: PackageIdentifier -> Hsenv ()
movePackage pkgInfo = do
  let prettyPkg = prettyPkgInfo pkgInfo
  debug $ "Moving package " ++ prettyPkg ++ " to Virtual Haskell Environment."
  out <- outsideGhcPkg ["describe", prettyPkg] Nothing
  _ <- insideGhcPkg ["register", "-"] (Just out)
  return ()
movePackage pkgInfo = do
  let prettyPkg = prettyPkgInfo pkgInfo
  debug $ "Moving package " ++ prettyPkg ++ " to Virtual Haskell Environment."
  out <- outsideGhcPkg ["describe", prettyPkg] Nothing
  _ <- insideGhcPkg ["register", "-"] (Just out)
  return ()