spack graph: fix coloring with environments (#41240)
If we use all specs, we won't color correctly build-only dependencies
This commit is contained in:
parent
f70ef51f1a
commit
92d076e683
@ -61,7 +61,7 @@ def graph(parser, args):
|
||||
args.dot = True
|
||||
env = ev.active_environment()
|
||||
if env:
|
||||
specs = env.all_specs()
|
||||
specs = env.concrete_roots()
|
||||
else:
|
||||
specs = spack.store.STORE.db.query()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user