hpcDirFromDir
    :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env)
    => Path Abs Dir  -- ^ Package directory.
    -> m (Path Abs Dir)
hpcDirFromDir dir = do
    liftM (</> $(mkRelDir "hpc")) (distDirFromDir dir)

-- | Package's build artifacts directory.
hpcDirFromDir
    :: (MonadThrow m, MonadReader env m, HasPlatform env, HasEnvConfig env)
    => Path Abs Dir  -- ^ Package directory.
    -> m (Path Abs Dir)
hpcDirFromDir dir = do
    liftM (</> $(mkRelDir "hpc")) (distDirFromDir dir)

-- | Package's build artifacts directory.
hpcDirFromDir dir = do
    liftM (</> $(mkRelDir "hpc")) (distDirFromDir dir)

-- | Package's build artifacts directory.