The src of a Dependency.
In Lake, dependency sources currently come into flavors:
- Local
paths relative to the package's directory. - Remote
gitrepositories that are download from a givenurlinto the workspace'spackagesDir.
- path: Lake.FilePath → Lake.Source
- git: String → Option String → Option Lake.FilePath → Lake.Source
Instances For
Equations
- Lake.instInhabitedSource = { default := Lake.Source.path default }
Equations
- Lake.instReprSource = { reprPrec := Lake.reprSource✝ }
A Dependency of a package.
- name : Lake.Name
A
Namefor the dependency. The names of a package's dependencies cannot clash. - src : Lake.Source
The source of a dependency. See the documentation of
Sourcefor more information. - opts : Lake.NameMap String
Arguments to pass to the dependency's package configuration.
Instances For
Equations
- Lake.instInhabitedDependency = { default := { name := default, src := default, opts := default } }