hnix-0.16.0: Haskell implementation of the Nix language
Safe HaskellNone
LanguageHaskell2010

Nix.Effects.Basic

Synopsis

Documentation

defaultToAbsolutePath :: forall e t f m. MonadNix e t f m => Path -> m Path Source #

removeDotDotIndirections :: Path -> Path Source #

Incorrectly normalize paths by rewriting patterns like ab.. to a. This is incorrect on POSIX systems, because if b is a symlink, its parent may be a different directory from a. See the discussion at https://hackage.haskell.org/package/directory-1.3.1.5/docs/System-Directory.html#v:canonicalizePath

(<///>) :: Path -> Path -> Path infixr 9 Source #

findEnvPathM :: forall e t f m. MonadNix e t f m => Path -> m Path Source #

findPathBy :: forall e t f m. MonadNix e t f m => (Path -> m (Maybe Path)) -> [NValue t f m] -> Path -> m Path Source #

fetchTarball :: forall e t f m. MonadNix e t f m => NValue t f m -> m (NValue t f m) Source #

defaultFindPath :: MonadNix e t f m => [NValue t f m] -> Path -> m Path Source #

findPathM :: forall e t f m. MonadNix e t f m => [NValue t f m] -> Path -> m Path Source #