cabal-lenses-0.10.1: Lenses and traversals for the Cabal library.

CabalLenses.Utils

Synopsis

# Documentation

Find a cabal file starting at the given directory, going upwards the directory tree until a cabal file could be found. The returned file path is absolute.

Find the package database of the cabal sandbox from the given cabal file. The returned file path is absolute.

Find the dist directory of the cabal build from the given cabal file. For a non sandboxed build it's just the directory dist in the cabal build directory. For a sandboxed build it's the directory 'dist/dist-sandbox-*'. The returned file path is absolute.

Find the new style dist directory of the cabal build from the given cabal file. The returned file path is absolute.