diff --git a/lib/spack/spack/cmd/graph.py b/lib/spack/spack/cmd/graph.py index eeced40720..4122d8d588 100644 --- a/lib/spack/spack/cmd/graph.py +++ b/lib/spack/spack/cmd/graph.py @@ -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()