[Hackage] #917: Generated Paths module broken with NoImplicitPrelude

Hackage cvs-ghc at haskell.org
Sat Mar 17 21:31:55 CET 2012


#917: Generated Paths module broken with NoImplicitPrelude
----------------------------+-----------------------------------------------
  Reporter:  dag            |        Owner:         
      Type:  defect         |       Status:  closed 
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:         
  Severity:  normal         |   Resolution:  fixed  
  Keywords:                 |   Difficulty:  unknown
Ghcversion:                 |     Platform:         
----------------------------+-----------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 This should fix it:
 {{{
 Sat Mar 17 20:28:58 GMT 2012  Duncan Coutts <duncan at community.haskell.org>
   * Fix for #917: Generated Paths module broken with NoImplicitPrelude
   import Prelude explicitly
     hunk ./Cabal/Distribution/Simple/Build/PathsModule.hs 77
     -        "import System.Environment (getEnv)"++
     +        "import System.Environment (getEnv)\n"++
     +        "import Prelude\n"++
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/917#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list