#306: can't figure out how to use data-files
----------------------------+-----------------------------------------------
Reporter: claus | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: HEAD
Severity: normal | Resolution: duplicate
Keywords: | Difficulty: normal
Ghcversion: 6.9 | Platform:
----------------------------+-----------------------------------------------
Comment (by claus):
Thanks, that works! But since `Paths_p` was generated behind my back, it
seems odd that I have to list it myself, especially since a non-empty
`data-files` field makes no sense at all without it (no dependency chasing
needed for this one).
I'd suggest to (a) mention this in the user guide and (b) add
`Paths_package` implicitly if the cabal file has `data-files` (not much
sense giving an error message if the fix is uniquely determined).
Btw, having `--prefix` not apply to all dirs is very counter-intuitive.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/306#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel