halive-0.1.3: A live recompiler

Safe HaskellNone
LanguageHaskell2010

Halive.FindPackageDBs

Synopsis

Documentation

extractKey :: String -> String -> Maybe FilePath Source #

Extract the sandbox package db directory from the cabal.sandbox.config file. Exception is thrown if the sandbox config file is broken.

getSandboxDb :: IO (Maybe FilePath) Source #

Get path to sandbox's package DB via the cabal.sandbox.config file

getStackDb :: IO (Maybe [FilePath]) Source #

Get path to the project's snapshot and local package DBs via 'stack path'