Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype StorePath = StorePath {}
- class MonadFile m => MonadEffects m where
Documentation
class MonadFile m => MonadEffects m where Source #
addPath, makeAbsolutePath, findEnvPath, pathExists, importPath, getEnvVar, getCurrentSystemOS, getCurrentSystemArch, listDirectory, getSymbolicLinkStatus, derivationStrict, nixInstantiateExpr, getURL, getRecursiveSize, traceEffect, exec
addPath :: FilePath -> m StorePath Source #
Import a path into the nix store, and return the resulting path
makeAbsolutePath :: FilePath -> m FilePath Source #
Determine the absolute path of relative path in the current context
findEnvPath :: String -> m FilePath Source #
pathExists :: FilePath -> m Bool Source #
importPath :: AttrSet (NThunk m) -> FilePath -> m (NValue m) Source #
getEnvVar :: String -> m (Maybe String) Source #
getCurrentSystemOS :: m Text Source #
getCurrentSystemArch :: m Text Source #
listDirectory :: FilePath -> m [FilePath] Source #
getSymbolicLinkStatus :: FilePath -> m FileStatus Source #
derivationStrict :: NValue m -> m (NValue m) Source #
nixInstantiateExpr :: String -> m (NValue m) Source #
getURL :: Text -> m (NValue m) Source #
getRecursiveSize :: a -> m (NValue m) Source #
traceEffect :: String -> m () Source #
(MonadFix m, MonadCatch m, MonadIO m, Alternative m, MonadPlus m, Typeable (* -> *) m) => MonadEffects (Lazy m) Source # | |