nixpkgs/pkgs/development
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
..
arduino ino: update to 0.3.6 2013-11-26 23:55:31 +01:00
compilers chicken(-dev): Update to 4.8.0.5 / 4.9.0rc1 2014-05-14 12:22:52 +02:00
eclipse ecj: Add a setup hook that makes Ant use ECJ automatically 2014-01-06 14:36:15 +01:00
guile-modules guile-xcb: fix hash 2014-02-17 09:48:34 +08:00
interpreters Merge branch 'sysdig-0.1.82-now-with-osx' of git://github.com/proger/nixpkgs 2014-05-12 09:34:23 -04:00
libraries Re-write the Haskell Platform out of haskell-defaults.nix. 2014-05-14 14:59:52 +02:00
lisp-modules preferLocalBuild: set to true for wrappers and fetchers 2014-02-10 21:04:17 +01:00
misc fixup previous commit: do the change to attribute 2014-01-31 18:51:10 +01:00
mobile androidsdk: upgrade 22.3 -> 22.6.2 2014-05-08 00:49:19 +02:00
ocaml-modules zarith: fix perl path 2014-05-01 09:14:16 -05:00
perl-modules perl-dbix-class: Fix tests with newer SQLite. 2014-04-22 16:27:28 +02:00
python-modules pylint: update to version 1.2.1 2014-05-13 16:11:06 +02:00
qtcreator qtcreator: Make the qt package optional and introduce the QtSDK 2013-10-21 09:36:45 +02:00
r-modules r-RcppArmadillo: fix build (and update to 0.4.300.0) 2014-05-07 12:30:29 +02:00
ruby-modules
tools cppcheck: Build the cfg files (close #2572) 2014-05-13 11:39:33 +02:00
web Update Node.js to 0.10.28 2014-05-09 15:45:21 +02:00