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

GHC ghc-devs at haskell.org
Thu Feb 14 13:53:15 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
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 $ /opt/ghc/8.6.3/bin/ghc -package-env .ghc.environment.x86_64-linux-8.6.3
 -e "putStrLn \"Hello\""
 Loaded package environment from .ghc.environment.x86_64-linux-8.6.3
 Loaded package environment from .ghc.environment.x86_64-linux-8.6.3
 Hello
 }}}

 This is a regression from GHC 8.4.4:

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

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16318>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list