diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/conditional-values-in-variant/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/conditional-values-in-variant/package.py b/var/spack/repos/builtin.mock/packages/conditional-values-in-variant/package.py index 788141565d..3dedabe7b2 100644 --- a/var/spack/repos/builtin.mock/packages/conditional-values-in-variant/package.py +++ b/var/spack/repos/builtin.mock/packages/conditional-values-in-variant/package.py @@ -38,3 +38,10 @@ class ConditionalValuesInVariant(Package): values=any_combination_of(conditional("flexpath", "dataspaces", when="@1.73.0:")), description="Enable dataspaces and/or flexpath staging transports", ) + + variant( + "foo", + default="foo", + values=(conditional("foo", when=True), conditional("bar", when=False)), + description="Variant with default condition false", + ) |