[Hackage] #326: Cabal should support Cabal-version-dependent Setup.hs

Hackage trac at galois.com
Wed Aug 20 06:32:47 EDT 2008


#326: Cabal should support Cabal-version-dependent Setup.hs
----------------------------+-----------------------------------------------
  Reporter:  claus          |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.2.3.0
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.8.2          |     Platform:         
----------------------------+-----------------------------------------------
Comment (by guest):

 I'm also not sure what you mean about nhc98 not specifying info like
 {{{include-dirs}}} at package registration.

 FWIW, nhc98 uses the cabal-file's spec for {{{include-dirs}}} at package-
 build time, and the whole cabal-file (including this information) is
 copied to the installed location at registration time.  When using the
 package, hmake/nhc98 could certainly read the {{{include-dirs}}} field and
 turn it into -Idir command-line options, if that is the correct thing to
 do.

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


More information about the cabal-devel mailing list