summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/concretize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/concretize.py b/lib/spack/spack/concretize.py
index 296b5b1273..044dbe5fb2 100644
--- a/lib/spack/spack/concretize.py
+++ b/lib/spack/spack/concretize.py
@@ -587,6 +587,6 @@ class NoBuildError(spack.error.SpackError):
no satisfactory external versions can be found"""
def __init__(self, spec):
- msg = ("The spec '%s' is configured as not buildable, "
+ msg = ("The spec\n '%s'\n is configured as not buildable, "
"and no matching external installs were found")
- super(NoBuildError, self).__init__(msg % spec.name)
+ super(NoBuildError, self).__init__(msg % spec)