summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/schema/packages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/schema/packages.py b/lib/spack/spack/schema/packages.py
index fe27557e68..cb05d57857 100644
--- a/lib/spack/spack/schema/packages.py
+++ b/lib/spack/spack/schema/packages.py
@@ -35,6 +35,7 @@ properties = {
"oneOf": [
{
"type": "object",
+ "additionalProperties": False,
"properties": {
"one_of": {"type": "array"},
"any_of": {"type": "array"},