Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 1, 2013
  1. Add syntax for setting an OptArg option to the default value.

    Makes it possible to write 'jobs: $DEFAULT' in the config file, which is
    equivalent to running 'cabal install -j' from the command line (the number of
    working threads is set to the number of processors).
  2. @ttuegel

    Merge pull request #1155 from benmachine/hpcmsg

    ttuegel committed
    Improve warning for old versions of HPC
  3. @byorgey

    Merge pull request #1162 from 23Skidoo/split-cabal-install

    byorgey committed
    Split cabal-install into library and executable components.
Commits on Dec 31, 2012
  1. Split cabal-install into library and executable components.

    Makes it possible to write unit tests for code under Distribution.Client.*.
Commits on Dec 29, 2012
  1. @byorgey

    Merge pull request #1161 from dagit/patch-1

    byorgey committed
    Fix path (mis)handling when scanning for modules (fixes #1160)
Commits on Dec 28, 2012
  1. @dagit
Commits on Dec 22, 2012
  1. @bmillwood

    Improve warning for old versions of HPC

    bmillwood committed
    Now the warning message includes mention of the input data that is being
    ignored because hpc can't deal with it.
    This involves a change of behaviour: when the HPC version cannot be
    determined, this is now a fatal error, rather than just assuming an old
Commits on Dec 17, 2012
  1. @bmillwood

    Fix build with GHC 6.12

    bmillwood committed
Commits on Dec 14, 2012
  1. Merge pull request #1151 from tuncer/sync-2012.4.0.0

    Sync with platform 2012.4.0.0
  2. @tuncer
Commits on Dec 13, 2012
  1. @dcoutts

    Add a default value for the --jobs flag

    dcoutts committed
    This will allow it to be set in config files too.
  2. @bmillwood
Commits on Dec 10, 2012
  1. @tibbe
  2. Add TODOs.

  3. @dcoutts

    Merge pull request #1140 from byorgey/master

    dcoutts committed
    cabal init: parse module names with simpleParse instead of fromString
  4. @dcoutts

    Adjust the error text wrapping so it preserves blank lines

    dcoutts committed
    This lets us use it for the package check in configure.
  5. @dcoutts

    Add a check for main-is C files, only ok with cabal-version >= 1.18

    dcoutts committed
    For compatability, we need to make sure people using C files for the
    main-is field, also have to specify the right cabal version.
  6. @dcoutts

    Support for C/C++/Obj-C as main

    dcoutts committed
    This allows specifying the main-is field as a C file.
    This is closely based on patches by Edward Z. Yang, who in turn credits
    and earlier set of patches by Irene Knapp. The slight difference in
    this version of the patch is that it is adjusted to work with the new
    approach where we have separate hs compile; c compile; and link phases.
Commits on Dec 9, 2012
  1. Rebuild source directories added to sandbox.

    Implemented by creating an install plan for ["add-source-dep-1", ...,
    "add-source-dep-N", "."], pruning "." from this plan and then doing all
    remaining installs in the plan before building the current package. This way,
    all reverse dependencies of add-source packages needed to install the current
    package are also reinstalled.
  2. Add an alternative interface for 'D.C.Install.install'.

    Splits 'D.C.Install.install' into three parts:
        * makeInstallContext - load common data
        * makeInstallPlan    - produce the install plan
        * processInstallPlan - actually perform the installations
    This allows to manipulate the install plan produced with 'makeInstallPlan'
    before performing the installations with 'processInstallPlan'. The high-level
    'install' action is still present; most clients should use it instead.
  3. Rename 'InstallContext' to 'InstallArgs'.

    The name 'InstallContext' will be used for common data shared between
    lower-level install functions.
  4. @dcoutts

    Separate compiling and linking phases for bulding exes with ghc

    dcoutts committed
    And move compiling of C files after the compile of Haskell modules,
    just like we do for libraries. Reversing the order is important because
    C files can depend on headers generated for Haskell FFI exports.
    This is based on a patch by Edward Z. Yang <>
  5. 80-col violations.

Commits on Dec 8, 2012
  1. Remove some duplication.

Commits on Dec 5, 2012
  1. Use userInstallDirs as the sandbox location.

    We set both globalInstallDirs and userInstallDirs to the same value, but using
    '--global' makes cabal-install want to do unnecessary things like invoking
    itself with 'sudo'.
Commits on Nov 30, 2012
  1. @tibbe
Commits on Nov 29, 2012
  1. @tibbe
Commits on Nov 27, 2012
  1. @dcoutts

    Fix mistake about which set of components to build

    dcoutts committed
    Was accidentally using the targets rather than the dependencies
    and the targets.
Commits on Nov 26, 2012
  1. Unbreak the build.

  2. Don't pass unsupported flags to setups built with old Cabal versions.

    We must not pass '--disable-benchmarks' to setup scripts built with Cabal <
    1.14; the same is also true for '--disable-tests' and Cabal < 1.10.
    Fixes #932 and #1004.
    Without this patch:
        $ cabal install -w /path/to/ghc-7.2.1/bin/ghc syb
        unrecognized option `--disable-benchmarks'
        Failed to install syb-0.3.7
    With this patch:
        $ cabal install -w /path/to/ghc-7.2.1/bin/ghc syb
        Registering syb-0.3.7...
        Installed syb-0.3.7
Something went wrong with that request. Please try again.