mache.spack.pins.render_repos_yaml

mache.spack.pins.render_repos_yaml(spack_path, pins)[source]

Render the repos.yaml for a Spack instance from pins.

Parameters:
  • spack_path (str) – The Spack checkout ($SPACK_ROOT)

  • pins (dict) – Validated pins

Returns:

text (str) – YAML with path-based repos entries in the search order of pins['repos']