darcsden :: dbp -> housetab-export -> blob

A program to dump the output of the old HouseTab's state from Happstack-state into a parseable format

root / happstack-auth / dist / build / autogen / Paths_happstack_auth.hs

module Paths_happstack_auth (
    version,
    getBinDir, getLibDir, getDataDir, getLibexecDir,
    getDataFileName
  ) where

import Data.Version (Version(..))
import System.Environment (getEnv)

version :: Version
version = Version {versionBranch = [0,1], versionTags = []}

bindir, libdir, datadir, libexecdir :: FilePath

bindir     = "/home/dbp/.cabal/bin"
libdir     = "/home/dbp/.cabal/lib/happstack-auth-0.1/ghc-6.12.3"
datadir    = "/home/dbp/.cabal/share/happstack-auth-0.1"
libexecdir = "/home/dbp/.cabal/libexec"

getBinDir, getLibDir, getDataDir, getLibexecDir :: IO FilePath
getBinDir = catch (getEnv "happstack_auth_bindir") (\_ -> return bindir)
getLibDir = catch (getEnv "happstack_auth_libdir") (\_ -> return libdir)
getDataDir = catch (getEnv "happstack_auth_datadir") (\_ -> return datadir)
getLibexecDir = catch (getEnv "happstack_auth_libexecdir") (\_ -> return libexecdir)

getDataFileName :: FilePath -> IO FilePath
getDataFileName name = do
  dir <- getDataDir
  return (dir ++ "/" ++ name)