-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
395 additions
and
197 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: TCache | ||
version: 0.12.0 | ||
version: 0.12.2 | ||
cabal-version: >= 1.6 | ||
build-type: Simple | ||
license: BSD3 | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{-# LANGUAGE CPP #-} | ||
{-# LANGUAGE NoRebindableSyntax #-} | ||
{-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | ||
module Paths_TCache ( | ||
version, | ||
getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, | ||
getDataFileName, getSysconfDir | ||
) where | ||
|
||
import qualified Control.Exception as Exception | ||
import Data.Version (Version(..)) | ||
import System.Environment (getEnv) | ||
import Prelude | ||
|
||
#if defined(VERSION_base) | ||
|
||
#if MIN_VERSION_base(4,0,0) | ||
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a | ||
#else | ||
catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a | ||
#endif | ||
|
||
#else | ||
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a | ||
#endif | ||
catchIO = Exception.catch | ||
|
||
version :: Version | ||
version = Version [0,12,2] [] | ||
bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath | ||
|
||
bindir = "/root/.cabal/bin" | ||
libdir = "/root/.cabal/lib/x86_64-linux-ghc-8.4.2/TCache-0.12.2-BMoMHGzpnmeC7ODwXjoyvu" | ||
dynlibdir = "/root/.cabal/lib/x86_64-linux-ghc-8.4.2" | ||
datadir = "/root/.cabal/share/x86_64-linux-ghc-8.4.2/TCache-0.12.2" | ||
libexecdir = "/root/.cabal/libexec/x86_64-linux-ghc-8.4.2/TCache-0.12.2" | ||
sysconfdir = "/root/.cabal/etc" | ||
|
||
getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath | ||
getBinDir = catchIO (getEnv "TCache_bindir") (\_ -> return bindir) | ||
getLibDir = catchIO (getEnv "TCache_libdir") (\_ -> return libdir) | ||
getDynLibDir = catchIO (getEnv "TCache_dynlibdir") (\_ -> return dynlibdir) | ||
getDataDir = catchIO (getEnv "TCache_datadir") (\_ -> return datadir) | ||
getLibexecDir = catchIO (getEnv "TCache_libexecdir") (\_ -> return libexecdir) | ||
getSysconfDir = catchIO (getEnv "TCache_sysconfdir") (\_ -> return sysconfdir) | ||
|
||
getDataFileName :: FilePath -> IO FilePath | ||
getDataFileName name = do | ||
dir <- getDataDir | ||
return (dir ++ "/" ++ name) |
Oops, something went wrong.