summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/directives.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/spack/directives.py b/lib/spack/spack/directives.py
index 84404af095..df19e85d54 100644
--- a/lib/spack/spack/directives.py
+++ b/lib/spack/spack/directives.py
@@ -362,13 +362,14 @@ def depends_on(spec, when=None, type=default_deptype, patches=None):
@directive(('extendees', 'dependencies'))
def extends(spec, **kwargs):
- """Same as depends_on, but dependency is symlinked into parent prefix.
+ """Same as depends_on, but allows symlinking into dependency's
+ prefix tree.
This is for Python and other language modules where the module
needs to be installed into the prefix of the Python installation.
Spack handles this by installing modules into their own prefix,
but allowing ONE module version to be symlinked into a parent
- Python install at a time.
+ Python install at a time, using ``spack activate``.
keyword arguments can be passed to extends() so that extension
packages can pass parameters to the extendee's extension