[Hackage] #329: Cabal regenerates Paths_package unnecessarily

Hackage trac at galois.com
Tue Aug 19 19:54:35 EDT 2008

#329: Cabal regenerates Paths_package unnecessarily
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  closed 
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |   Resolution:  fixed  
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.8.2          |     Platform:         
Changes (by duncan):

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


 Fixed in Cabal HEAD 7 days ago. How's that for a response time? ;-)

 Wed Aug 13 20:32:45 BST 2008  Duncan Coutts Wed Aug 13 20:20:17 BST 2008
 Duncan Coutts <duncan at haskell.org>
   * Add util rewriteFile :: FilePath -> String -> IO ()
   Write a file but only if it would have new content.
   If we would be writing the same as the existing content
   then leave the file as is so that we do not update the
   file's modification time.

 <duncan at haskell.org>
   * Move Paths_pkgname and cabal_macros.h generation into their own

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

More information about the cabal-devel mailing list