This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 23 Aug, 2013 1 commit
-
-
Mikhail Glushenkov authored
Helps to disambiguate Cabal's compat modules from cabal-install's.
-
- 22 Aug, 2013 1 commit
-
-
Mikhail Glushenkov authored
-
- 21 Aug, 2013 3 commits
-
-
Mikhail Glushenkov authored
Change the component load order for repl.
-
Mikhail Glushenkov authored
Rename 'extra-html-files' to 'extra-doc-files'.
-
Mikhail Glushenkov authored
-
- 20 Aug, 2013 2 commits
-
-
Mikhail Glushenkov authored
Fixes #1424.
-
Mikhail Glushenkov authored
-
- 19 Aug, 2013 7 commits
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
The one from outer scope was used in some places before.
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Support for non-standard program search $PATH
-
- 14 Aug, 2013 3 commits
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Link to imported source guide on Github, not to the older one
-
Blaisorblade authored
-
- 12 Aug, 2013 4 commits
-
-
Duncan Coutts authored
A few cabal repl fixes
-
Duncan Coutts authored
-
Duncan Coutts authored
Like -O -threaded -prof -debug etc.
-
Duncan Coutts authored
Add support for: -no-hs-main -dynamic-too (now a three-way choice with -static & -dynamic) -dynhisuf -dynosuf -dyno All the options we use internally should have their own flags. We should really only be using ghcOptExtra for things from the user.
-
- 10 Aug, 2013 9 commits
-
-
Duncan Coutts authored
e.g. extra-prog-path: /home/duncan/.cabal/bin This should help with the problem that people install tools like alex, happy, c2hs etc and then cabal cannot find them. Arguably we should have this as the default value for extra-prog-path, so that it affects existing installations, rather than just affecting new installations where we generate the ~/.cabal/config for the first time. It's easy to change if we want to do that.
-
Duncan Coutts authored
We have to pass it properly in the setupWrapper. For the external build method we just set the $PATH rather than passing the flag. This way it works when talking to Setup.hs built with an older Cabal lib.
-
Duncan Coutts authored
Can be used to add extra dirs to the end of the program search path. This in mainly useful as a config file entry rather than a command line flag, but it'll exists as both.
-
Duncan Coutts authored
When we configure ghc we have to find a bunch of related tools (like gcc on windows). We do that by looking in some extra locations first, and that's now simpler to do with the new infrastructure by just tacking an extra directory on the front of the search path.
-
Duncan Coutts authored
Previously we would just use the normal system $PATH for finding programs (unless the Program provided some custom method). Now the ProgramDb has its own notion of the search path and we use that for finding programs (by default). The search path can be either specific directories or the system search method (ie $PATH on unix and something similar on Win32). The default search path is just the system one. In addition, this search path is passed on to programs when we invoke them as the $PATH env var.
-
Duncan Coutts authored
So rather than only returning the default args it can adjust any of the ConfiguredProgram settings, including programDefaultArgs as now but now also the programOverrideArgs and the new programOverrideEnv.
-
Duncan Coutts authored
And use it in programInvocation. So configured programs can have environment var overrides that will be used in all invocations, like the existing support for default and override arguments.
-
Duncan Coutts authored
Previously the runProgramInvocation impl only covered the common special cases that we currently use. In particular it did not support env vars or changing the workind directory. Also change the ProgramInvocation { progInvokeEnv } to allow unsetting env vars, not just setting them to new values. This stuff would be better if we could use createProcess for all cases but that doesn't yet support running programs in the foreground with proper ctl-C handling (only rawSystem currently supports that).
-
Duncan Coutts authored
Initial implementation of repl command
-
- 07 Aug, 2013 1 commit
-
-
Duncan Coutts authored
No support yet for ovreriding the ghci :reload command. No support in build or repl for module/file targets. Not yet tested with sandboxes.
-
- 02 Aug, 2013 1 commit
-
-
Mikhail Glushenkov authored
Make absolute haddock paths proper URLs
-
- 01 Aug, 2013 1 commit
-
-
Roman Cheplyaka authored
Fixes #1064, #1406
-
- 30 Jul, 2013 2 commits
-
-
Mikhail Glushenkov authored
Add a list command to the HcPkg module
-
Mikhail Glushenkov authored
Split the cabal_macros.h generation into a helper and wrapper
-
- 29 Jul, 2013 1 commit
-
-
Mikhail Glushenkov authored
This reverts commit a17491d7. That commit made the logic much more convoluted and broke the following use case (for sandboxed packages with build-type Custom): $ cabal configure -w /path/to/ghc $ cabal build
-
- 27 Jul, 2013 1 commit
-
-
Mikhail Glushenkov authored
Instead, just append '/path/to/.cabal-sandbox/packages' at the end. See the discussion in #1402.
-
- 24 Jul, 2013 3 commits
-
-
Duncan Coutts authored
Only useful for getting the source package ids. Does not get the installed package ids or any other details. Most use cases should still use dump.
-
Duncan Coutts authored
Makes it easier to reuse this code in other contexts, for example if we want to build without a .cabal file using all the packages in the environment.
-
Mikhail Glushenkov authored
-