{-# LANGUAGE CPP #-} {-# LANGUAGE NoRebindableSyntax #-} {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} {-# OPTIONS_GHC -Wno-missing-safe-haskell-mode #-} module Paths_xmonad ( 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 :: forall a. IO a -> (IOException -> IO a) -> IO a catchIO = IO a -> (IOException -> IO a) -> IO a forall e a. Exception e => IO a -> (e -> IO a) -> IO a Exception.catch version :: Version version :: Version version = [Int] -> [String] -> Version Version [Int 0,Int 17,Int 0,Int 9] [] bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath bindir :: String bindir = String "/home/runner/work/xmonad-docs/xmonad-docs/.stack-work/install/x86_64-linux-tinfo6/3aa5fc209c82d82755e5cb3f81a8fe53f070d53ae319f7e209a5821168475a77/9.0.2/bin" libdir :: String libdir = String "/home/runner/work/xmonad-docs/xmonad-docs/.stack-work/install/x86_64-linux-tinfo6/3aa5fc209c82d82755e5cb3f81a8fe53f070d53ae319f7e209a5821168475a77/9.0.2/lib/x86_64-linux-ghc-9.0.2/xmonad-0.17.0.9-EiXym6beAmwHqCjURBqlDx" dynlibdir :: String dynlibdir = String "/home/runner/work/xmonad-docs/xmonad-docs/.stack-work/install/x86_64-linux-tinfo6/3aa5fc209c82d82755e5cb3f81a8fe53f070d53ae319f7e209a5821168475a77/9.0.2/lib/x86_64-linux-ghc-9.0.2" datadir :: String datadir = String "/home/runner/work/xmonad-docs/xmonad-docs/.stack-work/install/x86_64-linux-tinfo6/3aa5fc209c82d82755e5cb3f81a8fe53f070d53ae319f7e209a5821168475a77/9.0.2/share/x86_64-linux-ghc-9.0.2/xmonad-0.17.0.9" libexecdir :: String libexecdir = String "/home/runner/work/xmonad-docs/xmonad-docs/.stack-work/install/x86_64-linux-tinfo6/3aa5fc209c82d82755e5cb3f81a8fe53f070d53ae319f7e209a5821168475a77/9.0.2/libexec/x86_64-linux-ghc-9.0.2/xmonad-0.17.0.9" sysconfdir :: String sysconfdir = String "/home/runner/work/xmonad-docs/xmonad-docs/.stack-work/install/x86_64-linux-tinfo6/3aa5fc209c82d82755e5cb3f81a8fe53f070d53ae319f7e209a5821168475a77/9.0.2/etc" getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath getBinDir :: IO String getBinDir = IO String -> (IOException -> IO String) -> IO String forall a. IO a -> (IOException -> IO a) -> IO a catchIO (String -> IO String getEnv String "xmonad_bindir") (\IOException _ -> String -> IO String forall (m :: * -> *) a. Monad m => a -> m a return String bindir) getLibDir :: IO String getLibDir = IO String -> (IOException -> IO String) -> IO String forall a. IO a -> (IOException -> IO a) -> IO a catchIO (String -> IO String getEnv String "xmonad_libdir") (\IOException _ -> String -> IO String forall (m :: * -> *) a. Monad m => a -> m a return String libdir) getDynLibDir :: IO String getDynLibDir = IO String -> (IOException -> IO String) -> IO String forall a. IO a -> (IOException -> IO a) -> IO a catchIO (String -> IO String getEnv String "xmonad_dynlibdir") (\IOException _ -> String -> IO String forall (m :: * -> *) a. Monad m => a -> m a return String dynlibdir) getDataDir :: IO String getDataDir = IO String -> (IOException -> IO String) -> IO String forall a. IO a -> (IOException -> IO a) -> IO a catchIO (String -> IO String getEnv String "xmonad_datadir") (\IOException _ -> String -> IO String forall (m :: * -> *) a. Monad m => a -> m a return String datadir) getLibexecDir :: IO String getLibexecDir = IO String -> (IOException -> IO String) -> IO String forall a. IO a -> (IOException -> IO a) -> IO a catchIO (String -> IO String getEnv String "xmonad_libexecdir") (\IOException _ -> String -> IO String forall (m :: * -> *) a. Monad m => a -> m a return String libexecdir) getSysconfDir :: IO String getSysconfDir = IO String -> (IOException -> IO String) -> IO String forall a. IO a -> (IOException -> IO a) -> IO a catchIO (String -> IO String getEnv String "xmonad_sysconfdir") (\IOException _ -> String -> IO String forall (m :: * -> *) a. Monad m => a -> m a return String sysconfdir) getDataFileName :: FilePath -> IO FilePath getDataFileName :: String -> IO String getDataFileName String name = do String dir <- IO String getDataDir String -> IO String forall (m :: * -> *) a. Monad m => a -> m a return (String dir String -> String -> String forall a. [a] -> [a] -> [a] ++ String "/" String -> String -> String forall a. [a] -> [a] -> [a] ++ String name)