
#446: Can't set path to tools in ~/.cabal/config ---------------------------------+------------------------------------------ Reporter: awick | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Comment (by awick): Hi - The (now) attached patch set implements the behavior we were looking for, but probably does it in the wrong way. Specifically, I couldn't figure out an easy way to use ProgramConfiguration to carry the information around such that the right flags could be added during load and spit out during use. So I added another data structure and used that. Hopefully either not using ProgramConfiguration was the right thing to do, or these patches will help in doing it the right way. The patches apply cleanly to cabal-install 0.6.0. -Adam -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/446#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects