Idris2Doc : Pack.Runner.Install

Pack.Runner.Install

(source)

Definitions

packagePathDirs : HasIOio=>Env->EitherTPackErrioDirList
  Directories to be listed in the `IDRIS2_PACKAGE_PATH` variable, so
that Idris finds all libraries installed by pack in custom locations.

Totality: total
Visibility: export
packageLibDirs : HasIOio=>Env->EitherTPackErrioDirList
  Directories to be listed in the `IDRIS2_LIBS` variable, so
that Idris finds all `.so` files installed by pack in custom locations.

Totality: total
Visibility: export
packageDataDirs : HasIOio=>Env->EitherTPackErrioDirList
  Directories to be listed in the `IDRIS2_DATA` variable, so
that Idris finds all support files installed by pack in custom locations.

Totality: total
Visibility: export
packagePath : HasIOio=>Env=>EitherTPackErrioEnvVar
  `IDRIS2_PACKAGE_PATH` variable to be used with Idris, so
that it finds all libraries installed by pack in custom locations.

Totality: total
Visibility: export
libPath : HasIOio=>Env=>EitherTPackErrioEnvVar
  `IDRIS2_LIBS` variable to be used with Idris, so
that it finds all `.so` files installed by pack in custom locations.

Totality: total
Visibility: export
dataPath : HasIOio=>Env=>EitherTPackErrioEnvVar
  `IDRIS2_DATA` variable to be used with Idris, so
that it finds all support files installed by pack in custom locations.

Totality: total
Visibility: export
buildEnv : HasIOio=>Env=>EitherTPackErrio (ListEnvVar)
  This unifies `packagePath`, `libPath` and `dataPath`,
to generate an environment necessary to build packages with Idris
the dependencies of which are handled by pack.

Totality: total
Visibility: export
idrisWithPkg : HasIOio=>IdrisEnv=>ResolvedLibt->EitherTPackErrio (CmdArgList, ListEnvVar)
  Idris executable loading the given package plus the
environment variables needed to run it.

Totality: total
Visibility: export
idrisWithPkgs : HasIOio=>IdrisEnv=>List (ResolvedLibt) ->EitherTPackErrio (CmdArgList, ListEnvVar)
  Idris executable loading the given packages plus the
environment variables needed to run it.

Totality: total
Visibility: export
ipkgCodeGen : Env=>PkgDesc->Codegen
Totality: total
Visibility: export
checkBuildDir : HasIOio=>IdrisEnv=>DescSafe->EitherTPackErrio ()
  Check if the build directory associated with the given `.ipkg` file
is outdated, either because it does not contain an `.idrisVersion` file,
or because this file has a different commit tag than the Idris version
we use currently.

Visibility: export
libPkg : HasIOio=>IdrisEnv=>ListEnvVar->LogLevel->Bool->CmdArgList->DescSafe->EitherTPackErrio ()
  Use the installed Idris to run an operation on
a library `.ipkg` file.

Visibility: export
mkIdris : HasIOio=>Env=>EitherTPackErrioIdrisEnv
  Builds and installs the Idris commit given in the environment.

Visibility: export
install : HasIOio=>IdrisEnv=>List (InstallType, PkgName) ->EitherTPackErrio ()
  Install the given list of libraries or applications, by first
resolving each of them and then creating a build plan including
all dependencies of the lot.

Visibility: export
installLibs : HasIOio=>IdrisEnv=>ListPkgName->EitherTPackErrio ()
  Install the given list of libraries, by first
resolving each of them and then creating a build plan including
all dependencies of the lot.

Visibility: export
installApps : HasIOio=>IdrisEnv=>ListPkgName->EitherTPackErrio ()
  Install the given list of applications, by first
resolving each of them and then creating a build plan including
all dependencies of the lot.

Visibility: export
installDeps : HasIOio=>IdrisEnv=>DescSafe->EitherTPackErrio ()
  Install the (possibly transitive) dependencies of the given
loaded `.ipkg` file.

Visibility: export
idrisEnv : HasIOio=>PackDirs=>TmpDir=>LibCache=>LineBufferingCmd=>MetaConfig->FetchMethod->EitherTPackErrioIdrisEnv
  Creates a packaging environment with Idris2 installed.

Visibility: export
update : HasIOio=>IdrisEnv->EitherTPackErrio ()
  Update the pack installation

Visibility: export
Fixity Declaration: infixl operator, level 7
remove : HasIOio=>Env=>List (PkgType, PkgName) ->EitherTPackErrio ()
  Remove the given libs or apps

Visibility: export
removeLibs : HasIOio=>Env=>ListPkgName->EitherTPackErrio ()
  Remove the given libs

Visibility: export
removeApps : HasIOio=>Env=>ListPkgName->EitherTPackErrio ()
  Remove the given apps

Visibility: export