Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: include build-tools in list-dependencies #3195

Open
pjljvandelaar opened this issue Jun 2, 2017 · 3 comments
Open

Feature: include build-tools in list-dependencies #3195

pjljvandelaar opened this issue Jun 2, 2017 · 3 comments

Comments

@pjljvandelaar
Copy link

My cabal file contains:

  build-tools:   alex
                      , happy

yet to my surprise this dependency is not reported when I use
stack list-dependencies

As a user, I would like to know the version of the build-tools that are needed to build my application.
Could you please add this feature!

@mgsloan mgsloan added this to the P2: Should milestone Jun 11, 2017
@mgsloan
Copy link
Contributor

mgsloan commented Jun 12, 2017

Makes sense, thanks for the report!

@Wizek
Copy link

Wizek commented Jun 22, 2017

I'd like to second this with an even more motivating use-case in my case:

I'm trying to build a project on FreeBSD which indirectly depends on happy, and stack fails the installation of happy with some linker errors. I tried both stack list-dependencies --depth=100 and stack dot --external in the hopes that I could figure out which of my dependencies depend further on happy, but I was surprised to see it not being in either of those outputs.

Edit: I've written with more details about my situation on StackOverflow -- linking here in case it is relevant.

@mgsloan
Copy link
Contributor

mgsloan commented Jan 15, 2018

Blocking this on #3777 , since I believe that will also solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants