Commit Graph

34 Commits

Author SHA1 Message Date
Peter Simons
9705c25dd6 haskell-platform-2010.1.0.0: mark as broken, the source code is no longer available from haskell.org 2014-07-12 15:13:59 +02:00
Peter Simons
283f13e5a6 haskell-platform: build 2009.x with sufficiently old version of 'mtl' to avoid build errors in CGI library 2014-07-12 15:13:59 +02:00
Peter Simons
6dcbc2ef9f haskell-platform-2009.2.0.2: un-break the expression to try and fix it 2014-06-20 16:55:56 +02:00
Peter Simons
011e696f6d haskell-platform-2010.1.0.0: un-break the expression to try and fix it 2014-06-20 16:55:56 +02:00
Peter Simons
4505378424 haskell-platform-2012.4.0.0: fix incorrect version of 'network' 2014-05-17 12:51:18 +02:00
Peter Simons
fd0f9e6fc1 Re-write the Haskell Platform out of haskell-defaults.nix.
1) Packages formerly called haskell-haskell-platform-ghcXYZ-VVVV.X.Y.Z are
    now called haskell-platform-VVVV.X.Y.Z. The latest version can be
    installed by running "nix-env -i haskell-platform".

 2) The attributes haskellPackages_ghcXYZ.haskellPlatform no longer exist.
    Instead, we have attributes like haskellPlatformPackages."2012_4_0_0".
    (The last numeric bit must be quoted when used in a Nix file, but not on
    the command line to nix-env, nix-build, etc.) The latest Platform has a
    top-level alias called simply haskellPlatform.

 3) The haskellPackages_ghcXYZ package sets offer the latest version of every
    library that GHC x.y.z can compile. For example, if 2.7 is the latest
    version of QuickCheck and if GHC 7.0.4 can compile that version, then
    haskellPackages_ghc704.QuickCheck refers to version 2.7.

 4) All intermediate GHC releases were dropped from all-packages.nix to
    simplify our configuration. What remains is a haskellPackages_ghcXYZ set
    for the latest version of every major release branch, i.e. GHC 6.10.4,
    6.12.3, 7.0.4, 7.2.2, 7.4.2, 7.6.3, 7.8.2, and 7.9.x (HEAD snapshot).

 5) The ghcXYZPrefs functions in haskell-defaults.nix now inherit overrides
    from newer to older compilers, i.e. an override configured for GHC 7.0.4
    will automatically apply to GHC 6.12.3 and 6.10.4, too. This change has
    reduced the redundancy in those configuration functions. The downside is
    that overriding an attribute for only one particular GHC version has become
    more difficult. In practice, this case doesn't occur much, though.

 6) The 'cabal' builder has a brand-new argument called 'extension'. That
    function is "self : super : {}" by default and users can override it to
    mess with the attribute set passed to cabal.mkDerivation. An example use
    would be the definition of darcs in all-packages.nix:

    | darcs = haskellPackages.darcs.override {
    |   cabal = haskellPackages.cabal.override {
    |     extension = self : super : {
    |       isLibrary = false;
    |       configureFlags = "-f-library " + super.configureFlags or "";
    |     };
    |   };
    | };

    In this case, extension disables building the library part of the package
    to give us an executable-only version that has no dependencies on GHC or
    any other Haskell packages.

    The 'self' argument refers to the final version of the attribute set and
    'super' refers to the original attribute set.

Note that ...

 - Haskell Platform packages always provide the Haddock binary that came with
   the compiler.

 - Haskell Platform 2009.2.0.2 is broken because of build failures in cgi and
   cabal-install.

 - Haskell Platform 2010.1.0.0 is broken becasue of build failures in cgi.
2014-05-14 14:59:52 +02:00
Peter Simons
2a0a12f333 Upgrade hashable to version 1.2.x.
This change in the GHC 7.6.3 profile violates Haskell Platform, but it fixes
many builds that would not succeed otherwise (such as Trifecta). Overriding
hashable locally in an expression is out of question: the package is used
virtually everywhere.
2014-04-06 21:54:45 +02:00
Peter Simons
631d59adc3 haskell-platform: add release candidate for 2013.2.0.0 2013-05-12 16:13:10 +02:00
Peter Simons
dc3bdd43ab haskell-platform-2010.2.0.0.nix: fix download URL 2013-04-06 16:04:35 +02:00
Andres Loeh
3751271d25 Update Haskell Platform 2012.4.0.0 Cabal file to final version.
(Typos only.)
2012-11-06 11:51:27 +01:00
Andres Loeh
d900694b3d Update to Haskell Platform 2012.4.0.0 RC2. 2012-10-25 09:59:18 +02:00
Andres Loeh
a84ad8010a Add haskell-platform-2012.4.0.0 release candidate. 2012-10-03 21:12:46 +02:00
Andres Löh
3ff236c739 Latest change (or reverse change) for the upcoming Haskell Platform.
svn path=/nixpkgs/trunk/; revision=34245
2012-05-25 16:19:52 +00:00
Andres Löh
f0e99eca2a Updated the Haskell Platform prerelease.
svn path=/nixpkgs/trunk/; revision=34206
2012-05-22 06:14:35 +00:00
Andres Löh
6706ef1e99 Fixed incorrect version number of Haskell Platform.
svn path=/nixpkgs/trunk/; revision=34192
2012-05-21 06:17:27 +00:00
Andres Löh
0542d35900 Added prerelease version of haskell-platform-2012.2.0.0
svn path=/nixpkgs/trunk/; revision=34191
2012-05-20 21:04:52 +00:00
Andres Löh
8116b29c33 Adding metadata for the Haskell Platform.
svn path=/nixpkgs/trunk/; revision=30955
2011-12-19 12:28:58 +00:00
Andres Löh
e20ab8d9b3 Added Haskell Platform 2011.4.0.0.
svn path=/nixpkgs/trunk/; revision=30951
2011-12-18 10:22:48 +00:00
Andres Löh
8fdb3c9e63 Make ghc-7.0.4 the default. Add experimental ghc-7.2.1rc1.
svn path=/nixpkgs/trunk/; revision=28163
2011-08-05 08:52:35 +00:00
Andres Löh
291df5f0c1 Added the RC of Haskell Platform 2011.2.0.1 ...
svn path=/nixpkgs/trunk/; revision=26674
2011-04-04 08:45:05 +00:00
Andres Löh
b18dd91057 Removing trailing whitespace.
svn path=/nixpkgs/trunk/; revision=26570
2011-03-28 15:04:00 +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
Andres Löh
73bee7da33 Switched the default version of ghc and Haskell Platform to 6.12.3 and 2010.2.0.0.
svn path=/nixpkgs/trunk/; revision=22715
2010-07-22 18:47:59 +00:00
Andres Löh
6c90771ac6 * Updated darcs to 2.4.4.
* Added Haskell Platform 2010.2.0.0.
* Added cairo package in preparation for adding a new gtk2hs.

svn path=/nixpkgs/trunk/; revision=22714
2010-07-22 18:04: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
160e4165f7 Added myself as maintainer for the Haskell Platform.
svn path=/nixpkgs/trunk/; revision=21304
2010-04-25 17:30:55 +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
2eadd35bdd Updated Haskell Platform.
svn path=/nixpkgs/trunk/; revision=16656
2009-08-10 19:18:03 +00:00
Andres Löh
107d41f96c New Haskell Platform release.
svn path=/nixpkgs/trunk/; revision=15837
2009-06-03 08:44:41 +00:00
Andres Löh
f51b3b5550 Haskell platform is now released (different URI).
svn path=/nixpkgs/trunk/; revision=15465
2009-05-06 11:42:57 +00:00
Andres Löh
88ada9468b Version bump for Haskell Platform.
svn path=/nixpkgs/trunk/; revision=15447
2009-05-05 08:50:17 +00:00
Andres Löh
b6626b7aac Updated Haskell Platform to 2009.1.1.
svn path=/nixpkgs/trunk/; revision=15445
2009-05-04 23:29:38 +00:00
Andres Löh
035d7cb965 * Updated lhs2TeX.
* Propagated build inputs of Haskell pkgs are now automatically
  propagated user-env pkgs.
* Updated haskell-platform slightly.

svn path=/nixpkgs/trunk/; revision=15184
2009-04-20 14:23:50 +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