The src
of a Dependency
.
In Lake, dependency sources currently come into flavors:
- Local
path
s relative to the package's directory. - Remote
git
repositories that are download from a givenurl
into 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
Name
for the dependency. The names of a package's dependencies cannot clash. - src : Lake.Source
The source of a dependency. See the documentation of
Source
for 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 } }