-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Hermit currently performs no custom actions on environment activation.
However, it is not uncommon to want to perform additional tasks within an environment before it becomes usable, beyond just installing the package. Some examples of this are creating a .venv for Python, perhaps running rustup to install a Rust toolchain, and so on.
Probably the simplest approach is to allow hooks in bin/hermit.hcl
, eg.
// Run once on environment "initialisation", whatever that means? This concept does not exist yet.
on setup {
run { command = "..." }
}
// Run on every activation? Is that a good idea?
on activate {
run { command = "..." }
}
fmr, mdub, damienrj, thanasisk, hugomd and 1 more
Metadata
Metadata
Assignees
Labels
No labels