
#270: Build executables that can be run "in-place" ----------------------------+----------------------------------------------- Reporter: waern | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * difficulty: normal => easy (<4 hours) Comment: Yes, we could have the generated `Paths_<pkgname>` module check an environment variable and if it exists, use that in preference to the normal value. Doesn't sound too hard. It might also be a good opportunity to clean up that code and move it into it's own module. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/270#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects