Skip to content

Stack dot should handle properly GHC boot packages #4324

@qrilka

Description

@qrilka

General summary/comments (optional)

It looks like currently stack dot doesn't show dependencies of GHC boot libraries even when such a library comes from a Stackage LTS snapshot. Either the code should be improved by including those dependencies or it should be documented that stack doesn't track dependencies of GHC boot packages.

Steps to reproduce

In the root of the stack repository run stack dot --external | grep '"process"'

Expected

Dependencies of the process package will get shown (e.g. directory or filepath) besides the packages which depend on process.

Actual

Current output (both for versions 1.7.1 and prerelese 1.9.0.1):

{rank=max; "process"; };
"Cabal" -> "process";
"cmdargs" -> "process";
"conduit-extra" -> "process";
"echo" -> "process";
"extra" -> "process";
"githash" -> "process";
"gitrev" -> "process";
"open-browser" -> "process";
"optparse-applicative" -> "process";
"rio" -> "process";
"stack" -> "process";
"streaming-commons" -> "process";
"typed-process" -> "process";
"unliftio" -> "process";
"x509-system" -> "process";

Stack version

$ stack --numeric-version
1.7.1
$ ~/bin/stack-1.9.0.1 --numeric-version
1.9.0.1

Method of installation

  • Other : 1.7.1 install with gentoo-haskell, prerelease version downloaded from the Github release page

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions