Configuration
Each Hermit environment contains a bin/hermit.hcl
file that can be used to
customise that Hermit environment.
Attributes¶
Attribute | Type | Description |
---|---|---|
env |
{string:string}? |
Extra environment variables. |
sources |
[string]? |
Package manifest sources in order of preference. |
manage-git |
bool? |
Whether Hermit should manage Git. |
Per-environment Sources¶
Hermit supports three different manifest sources:
- Git repositories; any cloneable URI ending with
.git
, eg.https://github.com/cashapp/hermit-packages.git
. An optional#<tag>
suffix can be added to checkout a specific tag. - Local filesystem, eg.
file:///home/user/my-packages
.
This is mostly only useful for local development and testing. - Environment relative, eg.
env:///my-packages
.
This will search for package manifests in the directory${HERMIT_ENV}/my-packages
. Useful for local overrides.