summaryrefslogtreecommitdiff
path: root/lib/spack/spack/build_systems/_checks.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/build_systems/_checks.py')
-rw-r--r--lib/spack/spack/build_systems/_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/_checks.py b/lib/spack/spack/build_systems/_checks.py
index 94c59aaa05..38fada308f 100644
--- a/lib/spack/spack/build_systems/_checks.py
+++ b/lib/spack/spack/build_systems/_checks.py
@@ -39,7 +39,7 @@ def sanity_check_prefix(builder: spack.builder.Builder):
check_paths(pkg.sanity_check_is_file, "file", os.path.isfile)
check_paths(pkg.sanity_check_is_dir, "directory", os.path.isdir)
- ignore_file = llnl.util.lang.match_predicate(spack.store.layout.hidden_file_regexes)
+ ignore_file = llnl.util.lang.match_predicate(spack.store.STORE.layout.hidden_file_regexes)
if all(map(ignore_file, os.listdir(pkg.prefix))):
msg = "Install failed for {0}. Nothing was installed!"
raise spack.installer.InstallError(msg.format(pkg.name))