[Hackage] #257: sdist doesn't include all files when using conditional and "buildable: False"

Hackage trac at galois.com
Thu Mar 6 19:46:14 EST 2008


#257: sdist doesn't include all files when using conditional and "buildable:
False"
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       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):

 This happens because sdist uses flattenPackageDescription which doesn't
 properly handle conditionals like configure would do, and instead just
 joins the listed values for each field descriptor.

 However it's not clear why sdist should care if an executable is buildable
 or not, I'd expect the sources to be included anyway, so the executable
 can be built where it's buildable.

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


More information about the cabal-devel mailing list