Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Can't set path to tools in ~/.cabal/config #439

Open
bos opened this Issue · 4 comments

1 participant

@bos
Owner

(Imported from Trac #446, reported by awick on 2009-01-07)

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?)

@bos
Owner

(Imported comment by awick on 2009-01-07)

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

@bos
Owner

(Imported comment by awick on 2009-02-01)

updated version of the patches

@bos
Owner

(Imported comment by @dcoutts on 2009-02-10)

Sigh, I wish trac let one search for tickets with patches so things like this would not get lost. :-(

@bos
Owner

(Imported comment by @dcoutts on 2011-01-11)

This would be particularly useful for negating the new ghc default that -rtsopts is needed to do any profiling or tracing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.