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

Get rid of world files #3749

Closed
ezyang opened this issue Sep 1, 2016 · 4 comments
Closed

Get rid of world files #3749

ezyang opened this issue Sep 1, 2016 · 4 comments

Comments

@ezyang
Copy link
Contributor

ezyang commented Sep 1, 2016

They were added in 9efcc5b

They are undocumented.

There are no tests.

Nix-local build will probably simulate worlds using a different mechanism.

Let's get rid of it.

CC @dcoutts

@23Skidoo
Copy link
Member

23Skidoo commented Sep 1, 2016

I never use this feature, but the basic idea is that it lets you upgrade to a new GHC version and then run cabal install world to reinstall all packages that you previously installed manually. So the question is what is the proposed new mechanism that nix-local-build will use to achieve the same goal.

@ezyang
Copy link
Contributor Author

ezyang commented Sep 1, 2016

Well, assuming you have some list of extra-packages as your world, if you just change the compiler it will autorebuild everything. See #3737

@dcoutts
Copy link
Contributor

dcoutts commented Sep 1, 2016

Yes I think we can abandon the world stuff in new-build at least, and replace it with some other mechanism to conveniently manage the global environment. I wouldn't bother to get rid of it from the legacy code though.

ezyang added a commit to ezyang/cabal that referenced this issue Sep 6, 2016
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
@ezyang ezyang added this to the 2.0 milestone Sep 6, 2016
@ezyang
Copy link
Contributor Author

ezyang commented Sep 6, 2016

Issue subsumed by PR #3749.

@ezyang ezyang closed this as completed Sep 6, 2016
ezyang added a commit to ezyang/cabal that referenced this issue Sep 6, 2016
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
ezyang added a commit to ezyang/cabal that referenced this issue Sep 7, 2016
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
23Skidoo added a commit that referenced this issue Sep 7, 2016
Remove deprecated/obsolete projectConfigWorldFile, fixes #3749.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants