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

stack list-dependencies --license is wrong for base #2871

ndmitchell opened this Issue Dec 23, 2016 · 1 comment


None yet
2 participants

ndmitchell commented Dec 23, 2016

Running stack list-dependencies --license I see:

base <unknown>
ghc-prim <unknown>
integer-gmp <unknown>
template-haskell <unknown>

However, running stack exec -- ghc-pkg describe base correctly states that base is BSD3. I guess it's because these packages are "built in" - if so, hardcoding knowledge for them might not be too bad.

mgsloan added a commit that referenced this issue Feb 1, 2017


This comment has been minimized.


mgsloan commented Feb 1, 2017

I've investigated this a bit, and I think it is due to the line after this one. Not sure why wiredInPackages are removed from the source map, but I'm assuming there's a good reason for it.

I've modified the function to optionally include wired in packages, so now stack list-dependencies --license works as expected!

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