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

Document the splitoff of plugins #50

Open
DanBurton opened this issue May 6, 2015 · 4 comments
Open

Document the splitoff of plugins #50

DanBurton opened this issue May 6, 2015 · 4 comments

Comments

@DanBurton
Copy link
Contributor

We moved some plugins, and this caused confusion. Whoops. :(
http://www.reddit.com/r/haskell/comments/3526x2/stackage_problems/

For users who wish to install via cabal, the recommended approach should be cabal install stackage.

We should (soon) encourage users to install via stackage-setup; the recommended approach for this should be:

  • download executable
  • ./stackage-setup
  • possibly followed by a second command to alter the PATH appropriately (maybe append a line to $HOME/.bashrc or something)
@DanBurton
Copy link
Contributor Author

I've added libraries with currently-empty modules to the packages that were executable-only. This stops cabal from complaining about executable-only dependencies, and also provides a place to librify some of the functionality in each executable.

The next step is to adjust our advertising from cabal install stackage-cli to cabal install stackage.

@DanBurton
Copy link
Contributor Author

I added a post-install hook on stackage-cli that is supposed to print a message about how to get some of the plugins. However, for some reason, cabal isn't running this hook. haskell/cabal#2579

@snoyberg
Copy link
Member

snoyberg commented May 7, 2015

That bug is... unfortunate.

@DanBurton
Copy link
Contributor Author

As part of better documenting plugins, we should also have a better error message than "invalid argument" for trying to call something like stackage sandbox when the sandbox plugin is missing. We can have a hard-coded list of known plugins and give more helpful error messages about how to get them.

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

No branches or pull requests

2 participants