diff options
author | Matthew Whitlock <MatthewWhitlock.MW@gmail.com> | 2024-02-02 05:05:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 11:05:26 +0100 |
commit | f8ce84860c448258e4e90f38ef7d67b8e7718ec0 (patch) | |
tree | 69fa872c74edc2ace1485ff0fbe8bc3907b3f86e /lib | |
parent | 795360fe48dc380d37ae7bb17be6bff6ab1a24cf (diff) | |
download | spack-f8ce84860c448258e4e90f38ef7d67b8e7718ec0.tar.gz spack-f8ce84860c448258e4e90f38ef7d67b8e7718ec0.tar.bz2 spack-f8ce84860c448258e4e90f38ef7d67b8e7718ec0.tar.xz spack-f8ce84860c448258e4e90f38ef7d67b8e7718ec0.zip |
Update packages_yaml.rst (#42438)
Fix an incorrect example.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/packages_yaml.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/spack/docs/packages_yaml.rst b/lib/spack/docs/packages_yaml.rst index e332919094..bfd7f5ca2b 100644 --- a/lib/spack/docs/packages_yaml.rst +++ b/lib/spack/docs/packages_yaml.rst @@ -657,10 +657,11 @@ You can assign class-level attributes in the configuration: packages: mpileaks: - # Override existing attributes - url: http://www.somewhereelse.com/mpileaks-1.0.tar.gz - # ... or add new ones - x: 1 + package_attributes: + # Override existing attributes + url: http://www.somewhereelse.com/mpileaks-1.0.tar.gz + # ... or add new ones + x: 1 Attributes set this way will be accessible to any method executed in the package.py file (e.g. the ``install()`` method). Values for these |