diff options
-rw-r--r-- | lib/spack/spack/package_prefs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/package_prefs.py b/lib/spack/spack/package_prefs.py index 190647bb81..63f90d9b50 100644 --- a/lib/spack/spack/package_prefs.py +++ b/lib/spack/spack/package_prefs.py @@ -43,7 +43,8 @@ def get_packages_config(): if virtuals: errors = ["%s: %s" % (line_info, name) for name, line_info in virtuals] raise VirtualInPackagesYAMLError( - "packages.yaml entries cannot be virtual packages:", *errors) + "packages.yaml entries cannot be virtual packages:", + '\n'.join(errors)) return config |