#2705: ghc discards version of wired-in packages
------------------------------+---------------------------------------------
 Reporter:  thoughtpolice     |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:  _|_             
Component:  Compiler          |        Version:  6.10.1          
 Severity:  normal            |     Resolution:                  
 Keywords:                    |     Difficulty:  Unknown         
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Comment (by claus):

 Does this help?
 {{{
 $ cat x.hs
 module Main where
 import System
 import Prelude

 main = do p <- getProgName
           putStrLn $ "program name is " ++ p

 $ ghc -e ":set -v" -e ":show packages" x.hs
 wired-in package base mapped to base-3.0.2.0
 wired-in package rts mapped to rts-1.0
 wired-in package haskell98 mapped to haskell98-1.0.1.0
 wired-in package template-haskell mapped to template-haskell-2.2.0.0
 wired-in package ndp not found.
 active package flags: none
 packages currently loaded:
   base
   rts
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2705#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to