Safe Haskell | Safe-Inferred |
---|
- getSandbox :: IO (Maybe FilePath)
- getSandboxOpts :: Maybe FilePath -> String
- getSandboxOpts2 :: Maybe FilePath -> String
Documentation
getSandbox :: IO (Maybe FilePath)Source
Find a sandbox config file by tracing ancestor directories, parse it and return the package db path
getSandboxOpts :: Maybe FilePath -> StringSource
Generate GHC options for package db according to GHC version.
>>>
getSandboxOpts Nothing
"">>>
getSandboxOpts (Just "/path/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d")
"-package-db /path/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d">>>
getSandboxOpts (Just "/path/.cabal-sandbox/i386-osx-ghc-7.4.1-packages.conf.d")
"-package-conf /path/.cabal-sandbox/i386-osx-ghc-7.4.1-packages.conf.d"