-
Notifications
You must be signed in to change notification settings - Fork 367
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
yesod-1.4 barely installable from hackage #853
Comments
I don't understand that issue to be honest, so I'm not sure what Alex and On Saturday, October 18, 2014, Greg Weber notifications@github.com wrote:
|
I also just added a feature to stackage which might help you. If you go to any snapshot page, it will give you a link called http://www.stackage.org/stackage/7b1cb620bf6ee03b2709b7e9c17682fb47530c36/cabal.config Pinging @chrisdone. We might want to consider advertising that feature for people who can't use hsenv. |
I'd agree. On two occasions I've had people who seem to refuse/not use hsenv and so I've had to manually generate a cabal freeze constraints file. This feature seems like a very good idea to me. |
Note that it's not quite as powerful as a normal Stackage exclusive snapshot, since it will allow other non-Stackage packages in. In that sense, you could think of it as a way to convert an exclusive snapshot into an inclusive one. It's still far better than nothing, of course. Let's talk on Monday about how to explain this to people. |
Perfect! I would suggest having a 7.8.3-latest alias and explaining it as
An application developer will then want to freeze their dependencies.
The last step is for application developers, not library developers. Upgrading multiple dependencies with a cabal.config can be a tricky process. Similar to installing, the stackage snapshot can help again
This is a conservative upgrade. For an aggressive upgrade, wipe out your sandbox before installing.
|
If you also install alex & happy into the sandbox rather than into ~/.cabal/bin that can make the difference as to whether cabal can figure out how to install things.
The documentation states
I took this to mean that foo-2.0 is not in either also. Perhaps I am misunderstanding how it operates. |
You're right. I misread and took it to mean packages not in stackage. On Saturday, October 18, 2014, Greg Weber notifications@github.com wrote:
|
And the following should work as a permalink: http://www.stackage.org/alias/fpcomplete/unstable-ghc78-exclusive/cabal.config |
Are you ready to expose this to the world? Want me to write a blog post about it and review it? |
Yes, please do, that would be great. It's certainly ready for primetime. |
I have yesod installed and could run It does not work with standard cabal:
If I change the
What can I do or where can I find help? |
At the very least we'd need the actual error logs. If using Stackage failed, my guess is that you have some previously installed packages still lying around which are causing problems. You'll likely need to wipe our your old ~/.ghc database and start over. If after doing that the problem persists, please create a separate issue. @gregwebs I think this issue itself should be closed, any objection? |
@dominikmayer sorry for your troubles. It is usually best to post about install issues on the yesodweb mail list. I am closing this issue because the original intent was to provide better install instructions related to stackage. |
@gregwebs No problem. I've renamed |
I found it. (And the build failed again :-() |
@dominikmayer I'm getting this error as well, |
|
I haven't found a solution and stopped trying. Sorry. But I think @snoyberg is working on an easy way to get you started. |
@alonecuzzo @dominikmayer use stack and let us know what issues you are having. |
@dominikmayer I don't think stack is the only solution. I ask you the question I asked @alonecuzzo;
|
I don't remember. I had the problem almost one year ago and went with another language and another framework when I couldn't get yesod working. |
I think this issue really rears its head when you install alex and happy.
freckle/yesod-auth-oauth2#15
It is good that our install instructions suggest hackage, but
Can we generate a cabal.config from the stackage dependencies? That will allow it to be used with a sandbox. When someone is leaving stackage they can tweak the cabal.config
The text was updated successfully, but these errors were encountered: