summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/darwin/modules.yaml4
-rw-r--r--etc/spack/defaults/modules.yaml19
2 files changed, 12 insertions, 11 deletions
diff --git a/etc/spack/defaults/darwin/modules.yaml b/etc/spack/defaults/darwin/modules.yaml
index a90cc24c60..b913d1029e 100644
--- a/etc/spack/defaults/darwin/modules.yaml
+++ b/etc/spack/defaults/darwin/modules.yaml
@@ -15,7 +15,7 @@
# -------------------------------------------------------------------------
modules:
prefix_inspections:
- lib:
+ ./lib:
- DYLD_FALLBACK_LIBRARY_PATH
- lib64:
+ ./lib64:
- DYLD_FALLBACK_LIBRARY_PATH
diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml
index 8914a6a733..27450b4259 100644
--- a/etc/spack/defaults/modules.yaml
+++ b/etc/spack/defaults/modules.yaml
@@ -14,23 +14,24 @@
# ~/.spack/modules.yaml
# -------------------------------------------------------------------------
modules:
- # Paths to check when creating modules for all module sets
+ # This maps paths in the package install prefix to environment variables
+ # they should be added to. For example, <prefix>/bin should be in PATH.
prefix_inspections:
- bin:
+ ./bin:
- PATH
- man:
+ ./man:
- MANPATH
- share/man:
+ ./share/man:
- MANPATH
- share/aclocal:
+ ./share/aclocal:
- ACLOCAL_PATH
- lib/pkgconfig:
+ ./lib/pkgconfig:
- PKG_CONFIG_PATH
- lib64/pkgconfig:
+ ./lib64/pkgconfig:
- PKG_CONFIG_PATH
- share/pkgconfig:
+ ./share/pkgconfig:
- PKG_CONFIG_PATH
- '':
+ ./:
- CMAKE_PREFIX_PATH
# These are configurations for the module set named "default"