Nix.Fresh.Basic
Contents
type StdIdT = FreshIdT Int Source #
Methods
makeAbsolutePath :: FilePath -> StdIdT m FilePath Source #
findEnvPath :: String -> StdIdT m FilePath Source #
findPath :: [NValue t f (StdIdT m)] -> FilePath -> StdIdT m FilePath Source #
importPath :: FilePath -> StdIdT m (NValue t f (StdIdT m)) Source #
pathToDefaultNix :: FilePath -> StdIdT m FilePath Source #
derivationStrict :: NValue t f (StdIdT m) -> StdIdT m (NValue t f (StdIdT m)) Source #
traceEffect :: String -> StdIdT m () Source #
readFile :: FilePath -> StdIdT m ByteString Source #
listDirectory :: FilePath -> StdIdT m [FilePath] Source #
getCurrentDirectory :: StdIdT m FilePath Source #
canonicalizePath :: FilePath -> StdIdT m FilePath Source #
getHomeDirectory :: StdIdT m FilePath Source #
doesPathExist :: FilePath -> StdIdT m Bool Source #
doesFileExist :: FilePath -> StdIdT m Bool Source #
doesDirectoryExist :: FilePath -> StdIdT m Bool Source #
getSymbolicLinkStatus :: FilePath -> StdIdT m FileStatus Source #
addPath' :: FilePath -> StdIdT m (Either ErrorCall StorePath) Source #
toFile_' :: FilePath -> String -> StdIdT m (Either ErrorCall StorePath) Source #
putStr :: String -> StdIdT m () Source #
getURL :: Text -> StdIdT m (Either ErrorCall StorePath) Source #
getDataDir :: StdIdT m FilePath Source #
getEnvVar :: String -> StdIdT m (Maybe String) Source #
getCurrentSystemOS :: StdIdT m Text Source #
getCurrentSystemArch :: StdIdT m Text Source #
instantiateExpr :: String -> StdIdT m (Either ErrorCall NExprLoc) Source #
exec' :: [String] -> StdIdT m (Either ErrorCall NExprLoc) Source #
recursiveSize :: a -> StdIdT m Word Source #