Ticket #663 (new defect)
Setup.hs doesn't look into ~/.cabal/bin for build tools.
| Reported by: | Axel Simon | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Cabal-1.8 |
| Component: | Cabal library | Version: | HEAD |
| Severity: | normal | Keywords: | |
| Cc: | Axel.Simon@… | Difficulty: | easy (<4 hours) |
| GHC Version: | Platform: |
Description
Cabal currently only checks the current PATH for buildtools. If the user installs and new pre-processor with the default --user installation, these tools wind up in ~/.cabal/bin. However, cabal doesn't find these unless ~/.cabal/bin has been added to the PATH. This is irritating since it is then not possible to make a library depend on a cabal package that contains it's build tools: Even if cabal-install installs the build tools first, building the library still fails since the tools cannot be found. The solution is very simple: Add ~/.cabal/bin to the search path when looking for build tools!
Change History
Note: See
TracTickets for help on using
tickets.
