Have "stack --version" 's list of dependency versions include transitive deps #2450
Comments
Now `stack --version` can include a list of dependencies. Include also transitive dependencies.
I think I managed to avoid transitive dependencies! As an example, look for
|
Regarding Template Haskell, I've rediscovered #2223 (comment).
To be sure: why?
That code seems fragile, newer Cabal uses a different convention:
Using the Cabal API cleanly would require loading setup-config into a |
Meanwhile, I wondered why |
Seems like a good change, good stuff! To resolve the
Because Setup.hs files are generally gnarly for a variety of reasons - haskell/cabal#3065 |
…deps List transitive deps in --version (#2450)
Untagging myself for the Template Haskell part. |
Actually, I split that out to a separate issue. |
The implementation in #2223 only lists direct deps. While not super likely, variations in the indirect deps chosen by cabal-install could also cause unexpected and unpredictable issues for users when it's used to build stack.
It would also be really nice to go back to a simple build type.
The text was updated successfully, but these errors were encountered: