summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_loader.py b/buildstream/_loader.py
index a2e0b4f91..a442dee2c 100644
--- a/buildstream/_loader.py
+++ b/buildstream/_loader.py
@@ -214,7 +214,7 @@ class LoadElement():
# Ensure the root node is valid
_yaml.validate_node(self.data, [
'kind', 'depends', 'sources',
- 'variables', 'environment',
+ 'variables', 'environment', 'environment-nocache',
'config', 'public', 'description',
'arches', 'variants', 'host-arches'
])