[Hackage] #446: Can't set path to tools in ~/.cabal/config

#446: Can't set path to tools in ~/.cabal/config ---------------------------------+------------------------------------------ Reporter: awick | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: | ---------------------------------+------------------------------------------ The config file for cabal-install lets me set all sorts of useful paths, except for the non-compiler tools. In other words, there's no config file mapping for the --with-PROG or --PROG-options flags, which would be really convenient. (At least, when I tried the obvious versions, it didn't work. Maybe missing docs somewhere?) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/446 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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: ---------------------------------+------------------------------------------ Changes (by duncan): * milestone: => cabal-install-0.8 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/446#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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
participants (1)
-
Hackage