3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

29 commits

Author SHA1 Message Date
Peter Simons d64917ad17 Back-port Haskell-related improvements from stdenv-updates.
* There now is full support for building Haskell packages as shared libraries
   for GHC versions 7.4.2 or later. The Cabal builder recognizes the following
   attributes:

    - enableSharedLibraries configures Cabal to build of shared libraries in
      addition to static ones. This option requires that all dependencies of
      the package have been compiled for use in shared libraries, too.

    - enableSharedExecutables configures Cabal to prefer shared libraries when
      linking executables.

   The default values for these attributes are arguments to the haskellPackages
   expression.

 * Haskell builds now run in a LANG="en_US.UTF-8" environment to avoid plenty
   of build and test suite errors. Without this setting, GHC seems unable to
   deal with the UTF-8 character encoding that's generally considered standard
   in the Haskell world.

 * The Cabal builder supports a new attribute 'testTarget' to specify the exact
   set of tests to be run during the check phase.

 * The ghc-wrapper attribute ghcVersion has been removed. Instead, we use the
   ghc.version attribute, which exists in unwrapped GHC derivations, too.
2013-10-27 10:09:36 +01:00
Peter Simons 7b3ebfe8c5 haskell-haddock: add version 2.13.2.1 2013-06-13 10:43:35 +02:00
Peter Simons 3b2254a3af Remove myself from the meta.maintainer field of most Haskell packages.
There is no point in receiving hundreds of e-mails; I cannot read them anyway.
2013-05-11 00:36:59 +02:00
Peter Simons 0b946a6374 haddock: update to version 2.13.2 2013-05-03 11:38:57 +02:00
Peter Simons 6fc2cccfe6 Add myself as a maintainer to all Haskell packages (re-)generated by hackage4nix. 2013-03-23 15:58:14 +01:00
Peter Simons 1fac9c5a41 haddock: disable 'doCheck' to avoid compilation errors
The test-suite stanza is incomplete.
2013-02-25 00:32:42 +01:00
Peter Simons a30df95691 Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
2013-02-25 00:32:40 +01:00
Peter Simons e32db14a59 haskell-haddock: add version 2.13.1 2012-10-15 11:52:01 +02:00
Peter Simons 7596ce3dbb Remove myself as maintainer of these packages. 2012-09-11 18:22:31 +02:00
Peter Simons 18e9e6832b haddock: add version 2.11.0 and 2.12.0 2012-09-10 14:18:40 +02:00
Peter Simons 880dcc2c64 Removed myself as a maintainer from Haskell packages that I don't personally use.
By now, it happened twice that a commit broke GHC and thus all Haskell packages
we have in Nixpkgs. On such an occasion, I receive well in excess of 3000
notification e-mails from Hydra, and then I receive another 3000 e-mails after
the bug has been fixed. Under these circumstances, subscribing to these
notifications makes no sense for me.

svn path=/nixpkgs/trunk/; revision=33392
2012-03-24 10:21:28 +00:00
Peter Simons 05d92999a0 Updated haskell packages.
- HDBC-postgresql updated to version 2.3.2.1
 - HsOpenSSL updated to version 0.10.1.3
 - hledger-web updated to version 0.17.1
 - persistent updated to version 0.8.0.2
 - xml-conduit updated to version 0.5.3.1
 - haddock: added version 2.10.0

svn path=/nixpkgs/trunk/; revision=32799
2012-03-05 11:58:21 +00:00
Peter Simons ac69747aa8 Regenerated all Haskell packages with the latest version of cabal2nix.
svn path=/nixpkgs/trunk/; revision=32292
2012-02-14 17:00:37 +00:00
Peter Simons a38b628246 haskell-haddock: updated to version 2.9.4
svn path=/nixpkgs/trunk/; revision=29635
2011-10-04 14:58:28 +00:00
Peter Simons ec549646da haskell-haddock: added version 2.9.3
svn path=/nixpkgs/trunk/; revision=29572
2011-10-02 20:27:20 +00:00
Peter Simons 3277d89fcf haddock-2.4.2: added 'happy' build input
svn path=/nixpkgs/trunk/; revision=29571
2011-10-02 20:13:54 +00:00
Peter Simons 5328a95a3c haddock-2.4.2: added 'alex' build input
svn path=/nixpkgs/trunk/; revision=29570
2011-10-02 20:12:07 +00:00
Peter Simons c8ae7cc8bb Updated build expressions for the current version of cabal.nix.
svn path=/nixpkgs/trunk/; revision=28772
2011-08-23 10:35:49 +00:00
Peter Simons de4fa65ddb haskell-haddock: dropped obsolete versions
svn path=/nixpkgs/trunk/; revision=28584
2011-08-15 11:27:07 +00:00
Peter Simons 21b26aef25 Updated Haskell package meta sections.
svn path=/nixpkgs/trunk/; revision=28583
2011-08-15 11:27:02 +00:00
Andres Löh 3e0ac9b040 Major Haskell packages overhaul.
Several changes, some highlights:

  * Structure of haskell-packages.nix updated. It's now easier to
    select different default versions of packages for different
    versions of GHC.

  * GHC 7.0.2 is now default.

  * Haskell Platform 2011.2.0.0 has been added and is now default.

  * Several packages have been updated
    (gtk2hs, gitit, xmonad, darcs, ...).

  * Some old packages have been removed.

svn path=/nixpkgs/trunk/; revision=26288
2011-03-12 17:28:15 +00:00
Russell O'Connor 7f27566ef5 Adding wrapper to get users packages
Haddock calls directly into ghclib by passing our carefully crafted ghc-wrapper.
This means that haddock needs to be wrapped itself, which this patch does.

svn path=/nixpkgs/trunk/; revision=24716
2010-11-17 00:18:39 +00:00
Andres Löh 5f8328c461 Preparing for the upcoming Haskell Platform release.
svn path=/nixpkgs/trunk/; revision=22620
2010-07-17 13:23:48 +00:00
Andres Löh 9370225663 Haskell Platform 2010.1.0.0
svn path=/nixpkgs/trunk/; revision=20904
2010-04-01 10:56:48 +00:00
Andres Löh e42598c74b Added Haskell platform meta package.
(Doesn't quite work nicely yet.)

svn path=/nixpkgs/trunk/; revision=15163
2009-04-19 19:18:07 +00:00
Andres Löh 12a05f1638 More Haskell Platform.
svn path=/nixpkgs/trunk/; revision=15153
2009-04-19 13:38:34 +00:00
Andres Löh cf7b225cf4 * changed from haddock-2.0.0.0 to haddock-2.1.0
(both only work with ghc-6.8.2, not ghc-6.8.3)
* added haddock-0.9 as a version that compiles with
  nearly all ghc's we have
* added haddock-0.9-boot the works with ghc-6.4.2-boot
* the haddock-0.9-boot is now used to generate library
  documentation while building ghc-6.8.3

svn path=/nixpkgs/trunk/; revision=12392
2008-07-22 13:01:30 +00:00
Andres Löh 84e7b463f5 * converted happy and haddock to use generic Cabal builder
svn path=/nixpkgs/trunk/; revision=10252
2008-01-22 21:10:19 +00:00
Andres Löh 92886a3321 * added haddock documentation tool for ghc/Haskell
svn path=/nixpkgs/trunk/; revision=10229
2008-01-19 17:05:54 +00:00