Type object
File match **/*spack/**/packages.yaml
Schema URL https://catalog.lintel.tools/schemas/schemastore/spack-packages-yaml/latest.json
Source https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/packages.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

packages Record<string, object>

Package-specific build settings and external package configurations

Default:
{}
1 nested properties
all object

Default settings that apply to all packages (can be overridden by package-specific settings)

Default:
{}
10 nested properties
require object | string[] | string

Package requirements that must be satisfied during concretization

prefer object | string[]

Strong package preferences that influence concretization without imposing hard constraints

conflict object | string[]

Package conflicts that prevent certain spec combinations

target string[]

Ordered list of soft preferences for target architectures for all packages (ignored if the concretizer can reuse existing installations)

Default:
[]
compiler string[]

Soft preferences for compiler specs for all packages (deprecated)

Default:
[]
buildable boolean

Whether packages should be built from source (false prevents building)

Default: true
permissions object

File permissions settings for package installations

3 nested properties
read string

Who can read the files installed by a package

Values: "user" "group" "world"
write string

Who can write to the files installed by a package

Values: "user" "group" "world"
group string

The group that owns the files installed by a package

package_attributes object

Class-level attributes to assign to package instances (accessible in package.py methods)

providers Record<string, string[]>

Soft preferences for providers of virtual packages (ignored if the concretizer can reuse existing installations)

Default:
{}
variants string | string[]

Soft variant preferences as a single spec string or list of variant specifications (ignored if the concretizer can reuse existing installations)