module Paths_clckwrks ( version, getBinDir, getLibDir, getDataDir, getLibexecDir, getDataFileName ) where import qualified Control.Exception as Exception import Data.Version (Version(..)) import System.Environment (getEnv) import Prelude catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a catchIO = Exception.catch version :: Version version = Version {versionBranch = [0,22,0], versionTags = []} bindir, libdir, datadir, libexecdir :: FilePath bindir = "/srv/hackage/var/build/tmp-install/bin" libdir = "/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/clckwrks-0.22.0" datadir = "/srv/hackage/var/build/tmp-install/share/x86_64-linux-ghc-7.6.3/clckwrks-0.22.0" libexecdir = "/srv/hackage/var/build/tmp-install/libexec" getBinDir, getLibDir, getDataDir, getLibexecDir :: IO FilePath getBinDir = catchIO (getEnv "clckwrks_bindir") (\_ -> return bindir) getLibDir = catchIO (getEnv "clckwrks_libdir") (\_ -> return libdir) getDataDir = catchIO (getEnv "clckwrks_datadir") (\_ -> return datadir) getLibexecDir = catchIO (getEnv "clckwrks_libexecdir") (\_ -> return libexecdir) getDataFileName :: FilePath -> IO FilePath getDataFileName name = do dir <- getDataDir return (dir ++ "/" ++ name)