summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-05-11 09:05:24 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-05-11 09:05:24 -0700
commit0216fa2a00f3e438ec2cb3182c8b347f1038ae10 (patch)
tree2fe157e1b0da44cb1fd4216cb700eaa478d5faa5 /etc
parentfd5d89b61c3de47942c51511984fe4c308b70e5d (diff)
downloadspack-0216fa2a00f3e438ec2cb3182c8b347f1038ae10.tar.gz
spack-0216fa2a00f3e438ec2cb3182c8b347f1038ae10.tar.bz2
spack-0216fa2a00f3e438ec2cb3182c8b347f1038ae10.tar.xz
spack-0216fa2a00f3e438ec2cb3182c8b347f1038ae10.zip
Simplify /etc/spack/modules.yaml formatting.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/modules.yaml33
1 files changed, 22 insertions, 11 deletions
diff --git a/etc/spack/modules.yaml b/etc/spack/modules.yaml
index 8f8f88e908..99be5e7b6d 100644
--- a/etc/spack/modules.yaml
+++ b/etc/spack/modules.yaml
@@ -5,14 +5,25 @@
# although users can override these settings in their ~/.spack/modules.yaml.
# -------------------------------------------------------------------------
modules:
- prefix_inspections: {
- bin: ['PATH'],
- man: ['MANPATH'],
- lib: ['LIBRARY_PATH', 'LD_LIBRARY_PATH'],
- lib64: ['LIBRARY_PATH', 'LD_LIBRARY_PATH'],
- include: ['CPATH'],
- lib/pkgconfig: ['PKGCONFIG'],
- lib64/pkgconfig: ['PKGCONFIG'],
- '': ['CMAKE_PREFIX_PATH']
- }
- enable: ['tcl', 'dotkit']
+ enable:
+ - tcl
+ - dotkit
+ prefix_inspections:
+ bin:
+ - PATH
+ man:
+ - MANPATH
+ lib:
+ - LIBRARY_PATH
+ - LD_LIBRARY_PATH
+ lib64:
+ - LIBRARY_PATH
+ - LD_LIBRARY_PATH
+ include:
+ - CPATH
+ lib/pkgconfig:
+ - PKGCONFIG
+ lib64/pkgconfig:
+ - PKGCONFIG
+ '':
+ - CMAKE_PREFIX_PATH