module Paths_creatur (
version,
getBinDir, getLibDir, getDataDir, getLibexecDir,
getDataFileName, getSysconfDir
) 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 [5,9,5] []
bindir, libdir, datadir, libexecdir, sysconfdir :: FilePath
bindir = "/home/amy/nosync/sandboxes/cr\233at\250r/bin"
libdir = "/home/amy/nosync/sandboxes/cr\233at\250r/lib/x86_64-linux-ghc-7.10.1/creat_0TVD5txy10fGvQUOCEJjcU"
datadir = "/home/amy/nosync/sandboxes/cr\233at\250r/share/x86_64-linux-ghc-7.10.1/creatur-5.9.5"
libexecdir = "/home/amy/nosync/sandboxes/cr\233at\250r/libexec"
sysconfdir = "/home/amy/nosync/sandboxes/cr\233at\250r/etc"
getBinDir, getLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath
getBinDir = catchIO (getEnv "creatur_bindir") (\_ -> return bindir)
getLibDir = catchIO (getEnv "creatur_libdir") (\_ -> return libdir)
getDataDir = catchIO (getEnv "creatur_datadir") (\_ -> return datadir)
getLibexecDir = catchIO (getEnv "creatur_libexecdir") (\_ -> return libexecdir)
getSysconfDir = catchIO (getEnv "creatur_sysconfdir") (\_ -> return sysconfdir)
getDataFileName :: FilePath -> IO FilePath
getDataFileName name = do
dir <- getDataDir
return (dir ++ "/" ++ name)