Re: #16318: Explicitly passing -package-env causes "Loaded package environment from .ghc.environment" message to be printed twice

"GHC" <[email protected]> Mon, 04 Mar 2019 13:34:20 -0000
Newsgroups gmane.comp.lang.haskell.glasgow.bugs
Message-ID <[email protected]>
#16318: Explicitly passing -package-env causes "Loaded package environment from
.ghc.environment" message to be printed twice
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Actually, the window of time in which this regression was introduced can
 be narrowed down even further, since this does not occur in GHC 8.6.2:

 {{{
 $ /opt/ghc/8.6.2/bin/ghc -package-env .ghc.environment.x86_64-linux-8.6.2
 -e "putStrLn \"Hello\""
 Loaded package environment from .ghc.environment.x86_64-linux-8.6.2
 Hello
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16318#comment:1>