Spack env_vars.yaml
Spack package manager env_vars.yaml config file
| Type | object |
|---|---|
| File match |
**/*spack/**/env_vars.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/spack-env-vars-yaml/latest.json |
| Source | https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/env_vars.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
env_vars
object
Environment variable modifications to apply at runtime
{}
5 nested properties
set
Record<string, string | number>
Environment variables to set to specific values
unset
string[]
Environment variables to remove/unset
[]
prepend_path
Record<string, string | number>
Environment variables to prepend values to (typically PATH-like variables)
append_path
Record<string, string | number>
Environment variables to append values to (typically PATH-like variables)
remove_path
Record<string, string | number>
Values to remove from PATH-like environment variables