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
e8bbd7763c
commit
e70e401be1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue