Use string representation of deptypes for concrete specs (#40566)
This commit is contained in:
parent
1e44f33163
commit
4a96d29e69
1 changed files with 5 additions and 1 deletions
|
@ -1883,7 +1883,11 @@ class Body:
|
||||||
continue
|
continue
|
||||||
# skip build dependencies of already-installed specs
|
# skip build dependencies of already-installed specs
|
||||||
if concrete_build_deps or dtype != dt.BUILD:
|
if concrete_build_deps or dtype != dt.BUILD:
|
||||||
clauses.append(fn.attr("depends_on", spec.name, dep.name, dtype))
|
clauses.append(
|
||||||
|
fn.attr(
|
||||||
|
"depends_on", spec.name, dep.name, dt.flag_to_string(dtype)
|
||||||
|
)
|
||||||
|
)
|
||||||
for virtual_name in dspec.virtuals:
|
for virtual_name in dspec.virtuals:
|
||||||
clauses.append(
|
clauses.append(
|
||||||
fn.attr("virtual_on_edge", spec.name, dep.name, virtual_name)
|
fn.attr("virtual_on_edge", spec.name, dep.name, virtual_name)
|
||||||
|
|
Loading…
Reference in a new issue