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

GHC ghc-devs at haskell.org
Mon Mar 4 13:34:20 UTC 2019


#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>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list