[GHC] #15145: Emit info-level log message when package environments have been picked up
GHC
ghc-devs at haskell.org
Sun May 13 17:34:45 UTC 2018
#15145: Emit info-level log message when package environments have been picked up
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: hvr
Type: feature request | Status: patch
Priority: high | Milestone: 8.4.3
Component: Compiler | Version: 8.0.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4689
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Herbert Valerio Riedel <hvr@…>):
In [changeset:"00049e2dce93b1e468c3fde3287371eb988aafdc/ghc"
00049e2d/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="00049e2dce93b1e468c3fde3287371eb988aafdc"
Emit info-level log message when package envs are loaded
A common complaint with the new package environment files feature is
that it's not obvious when package environments have been picked up.
This patch applies the same strategy that was already used for `.ghci`
files
(which exhibit similar potential for confusion, c.f. #11389) to package
environment files.
For instance, this new notification looks like below for a GHCi invocation
which
loads both, a GHCi configuration as well as a package environment:
GHCi, version 8.5.20180512: http://www.haskell.org/ghc/ :? for help
Loaded package environment from
/tmp/parsec-3.1.13.0/.ghc.environment.x86_64-linux-8.5.20180512
Loaded GHCi configuration from /home/hvr/.ghci
Prelude>
Addresses #15145
Reviewed By: bgamari, angerman
GHC Trac Issues: #15145
Differential Revision: https://phabricator.haskell.org/D4689
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15145#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list