[Hackage] #917: Generated Paths module broken with NoImplicitPrelude
#917: Generated Paths module broken with NoImplicitPrelude ----------------------------+----------------------------------------------- Reporter: dag | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- A .cabal with NoImplicitPrelude breaks the generated Paths_pkgname module which relies on Prelude being implicitly imported, and is built using the extensions configured in .cabal: Name: pkgname Library Extensions: NoImplicitPrelude Other-Modules: Paths_pkgname Something like the above will result in build errors for missing symbols in Paths_pkgname. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/917> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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@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
participants (1)
-
Hackage