Package environments
ClosedPublic

Authored by edsko on Dec 6 2014, 6:07 AM.

Details

Summary

Package environments are files with package IDs that indicate which packages should be visible; see entry in user guide for details.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
edsko updated this revision to Diff 1877.Dec 6 2014, 6:07 AM
edsko retitled this revision from to Package environments.
edsko updated this object.
edsko edited the test plan for this revision. (Show Details)
edsko added reviewers: austin, duncan.
duncan accepted this revision.Dec 6 2014, 6:39 AM
duncan edited edge metadata.

LGTM!

This revision is now accepted and ready to land.Dec 6 2014, 6:39 AM
duncan added a comment.EditedDec 6 2014, 6:43 AM

Note, we're deliberately not creating a ~/.ghc/$ver/environments/default file. This system will be opt-in intially while we experiment with the Cabal side of things. So it should not affect any existing users.

Ultimetely, the intention is that users will use cabal to manage their environment, and ghc will just follow the instructions. So ghc provides the mechanism (this patch) and cabal will provide the policy/management.

austin accepted this revision.Dec 6 2014, 8:33 PM
austin edited edge metadata.

noice

Mikolaj accepted this revision.Jan 13 2015, 8:54 AM
Mikolaj added a reviewer: Mikolaj.
Mikolaj edited edge metadata.

LGTM, but needs a rebase, which is not 100% trivial, and then I'd land it.

This revision was automatically updated to reflect the committed changes.