packages feed

codex-0.1.0.3: src/Distribution/Hackage/Utils.hs

module Distribution.Hackage.Utils where

import System.Directory
import System.FilePath

-- TODO Remove once path extracted in hackage-db
getHackagePath :: IO FilePath
getHackagePath = do
 homedir <- getHomeDirectory
 return (joinPath [homedir, ".cabal", "packages", "hackage.haskell.org"])