summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/elements/stack.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins/elements/stack.py')
-rw-r--r--src/buildstream/plugins/elements/stack.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/stack.py b/src/buildstream/plugins/elements/stack.py
index dbb59a43d..267ac02ce 100644
--- a/src/buildstream/plugins/elements/stack.py
+++ b/src/buildstream/plugins/elements/stack.py
@@ -36,6 +36,9 @@ class StackElement(Element):
# This plugin does not produce any artifacts when built
BST_ELEMENT_HAS_ARTIFACT = False
+ # This element does not allow sources
+ BST_FORBID_SOURCES = True
+
def configure(self, node):
pass