-
Notifications
You must be signed in to change notification settings - Fork 2
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
HackageDB #1
Comments
Thank you for the suggestion. I wondered if anyone except me thinks it useful :) One thing prevents me is it depends on bin-package-db, which is hidden and "should not be used" (from release note) in GHC7. I am writing its replacement as another tool, but it is not yet usable state. P.S. I heavily depend on ghc-mod when writing Haskell code, many thanks! |
I'm now writing a package maintenance program called "cab". This is a wrapper for "ghc-pkg" and "cabal" and its command style is like MacPorts. I think I can use cabal-delete for "cab uninstall --follow-dependents ". For this, some modifications for cabal-delete is necessary. But first of all, I hope cabal-delete is registered in HackageDB. https://github.com/kazu-yamamoto/cab I'm looking at the code of cabal-delete. It's easy to understand it. Thanks! If you don't register cabal-delete to HackageDB, I would steal your code to "cab". Lastly, thank you for using ghc-mod. |
I have no plan to register it to HackageDB now (because of bin-package-db dependency). |
I read relnote of GHC 7.0.2. I think normal code should not use bin-package-db but it is OK for a package maintenance code to use it. If you still hesitate, I will ask this issue to the library ML. What do you think? |
OK. I am waiting for the reply of your mail. Thanks. |
Anyway, it seems bin-package-db dependency can be dropped by using Cabal API. |
Thanks! So, it's nice to use Cabal. |
Any news on this? |
Although I am still using this tool, there is not much necessity for it now. When I started development of the tool, package directories installed by Cabal were a bit complex and some work was required. Recent Cabal installs package under ghc-version-wise directories which can be simply removed at uninstall. There are also alternatives, cab, cabal-uninstall on Hackage that support uninstall (I have not used uninstall feature of these tools) |
Hello,
Why don't you register this package to HackageDB?
The text was updated successfully, but these errors were encountered: