-
Notifications
You must be signed in to change notification settings - Fork 697
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
"cabal paths" command #3616
Comments
I think this is fine. But do you want the output to be machine parseable or not? Note also that internally, Cabal supports an entire stack of package databases so it's not necessarily just three, it could be many. Also which database you're using will vary depending on if you're using (Just a friendly note: we're experimenting with the |
|
imho such command should list what
|
Also, with
|
It would be a simple matter to clean up the |
I will if nobody beats me to it, after I finagle my bash aliases and directory structure to be friendlier towards rapidly developed git repos. |
Haha, sorry about that! I'm a big fan of |
It looks like the information already gets output, in a limited form, buried deep in the "cabal configure -v" output:
This information comes from Attached is an example of what cleaner verbose output might look like. Comments? |
Hmm, I guess we could introduce a new verbosity halfway between default and I support cleaning up our logging. It starts with specifying how you decide what gets logged when. |
I was using a machine with an older version of cabal to make that output, if you're just not seeing something you expected. I wouldn't expect any information to get removed in reformatting the log output, unless you think these are worth doing at the same time. |
No, that's basically what I expected ;) My experience with logs has always been, there's always more than what you're interested in, you have to dig to find the relevant information. But if you just want to add a few extra log statements that's OK too. I'll point out that by the time we do this in Configure:
we already know exactly what package databases we're going to use. |
I found out the hard way that type is too high-level to get a path from directly. If you print |
Oops. |
#2882 included at least some of the requested info. The PR is bitrotten by now though, by all likelyhood. |
This talks partially about sandboxes, which are deprecated. And
there is no a "common" question anymore at least inmy experience aorung libera haskell chat We have a incoming |
A common question in #haskell on freenode is where package files are located. It varies by OS and by which database a package is installed in.
Something built into cabal that lists the current global, user, and sandbox directories would make this question much easier to answer.
The text was updated successfully, but these errors were encountered: