Commit graph

2435 commits

Author SHA1 Message Date
Peter Simons 75a4679548 Recurse from haskell.compiler into haskell.compiler.integer-simple on Hydra.
This ensures that the gmp-free compiler variants are compiled on
hydra.nixos.org, too.
2017-02-02 10:57:00 +01:00
Bas van Dijk dfcc9e2994 ghc: support building with integer-simple and provide package sets for it
If the flag enableIntegerSimple is true GHC will be build with the GPL-free but
slower integer-simple library instead of the faster but GPLed integer-gmp
library.

The attribute `pkgs.haskell.compiler.integer-simple."${ghcVersion}"` provides a
GHC compiler build with `integer-simple`.

Similarly, the attribute `pkgs.haskell.packages.integer-simple."${ghcVersion}"`
provides a package set supporting `integer-simple`.

Closes https://github.com/NixOS/nixpkgs/pull/22121.
Closes https://github.com/NixOS/nixpkgs/issues/5493.
2017-02-02 10:57:00 +01:00
Bas van Dijk 0cbb65c832 ghcjs-HEAD: upgrade to the latest HEAD
It includes the following changes:

* Fixed crash on Safari on iOS

* Make linker write externs for closure compiler ADVANCED_OPTIMIZATIONS

* ghcjs-pkg fixes for ghc 8.0.2

Because of the latter I switched from GHC-8.0.1 to GHC-8.0.2 to build ghcjs-HEAD.
2017-01-27 01:45:50 +01:00
John Ericson a1a798f017 top-level: crossSystem is no longer exposed to packages. Use *Platform. 2017-01-24 11:37:56 -05:00
Peter Simons 494d695b97 Merge pull request #21393 from mpickering/master
Small improvements to development GHC derivations
2017-01-03 14:40:18 +01:00
Laverne Schrock 527468209c ghc-8.0.2: add sphinx to inputs for documentation
Closes https://github.com/NixOS/nixpkgs/pull/21434.
2016-12-28 17:30:16 +01:00
Laverne Schrock 1a78981b2f ghc-8.0.1: switch to sphinx for documentation
Fixes #20281

"Since GHC 8.0, the User’s Guide is authored in ReStructuredText (or ReST
or RST, for short) a rich but light-weight mark-up language aimed at
producing documentation. The Sphinx tool is used to produce the final
PDF and HTML documentation."
- http://ghc.readthedocs.io/en/8.0.1/editing-guide.html
2016-12-28 17:30:16 +01:00
Matthew Pickering 9f7c7405fb Remove nokinds GHC build
This work has since been merged into GHC master branch and is enabled
with the TypeInType extension.
2016-12-26 13:30:07 +00:00
Peter Simons c272c66276 ghc: add release candidate 1 for 8.0.2 2016-11-26 21:24:40 +01:00
Shea Levy 64ec4dd87b Add haskell packages set for cross ghc 2016-11-18 10:44:53 -05:00
Shea Levy 845b56d25a Initial support for cross-compiling ghc 2016-11-15 16:59:09 -05:00
Travis Whitaker c491309d61 ghcjs: add ghcsjHEAD, tracking ghc-8.0 branch
Closes https://github.com/NixOS/nixpkgs/pull/20071.
Closes https://github.com/NixOS/nixpkgs/issues/19905.
2016-11-03 17:37:19 +01:00
Peter Simons 9123a0452d haskell: drop obsolete LTS package set
The default 'haskellPackages' set now corresponds to the latest
available version of LTS 7.x.
2016-09-15 09:12:04 +02:00
Peter Simons f7133e4de6 haskell: define top-level attributes for LTS 6.x and 7.x
These attributes exist only for backwards compatibility with old
versions of Stack and will be removed altogether soon.
2016-09-15 09:12:04 +02:00
Mathieu Boespflug 5f8891153b haskell.compiler.ghcHEAD: update to latest upstream (20160826). 2016-08-26 21:15:04 +02:00
Peter Simons 641fc0e683 haskell: remove all but the latest LTS package sets (version 6.7)
This is the first step towards dropping Stackage support. We keep LTS 6.x
around because I don't want to downgrade our default compiler to GHC 7.x,
but once LTS 7.x comes out we'll switch our main package set to that and
drop Nightly.

More details are at:

  http://permalink.gmane.org/gmane.linux.distributions.nixos/20505

Closes https://github.com/NixOS/nixpkgs/issues/14897.

Also relevant:

 - https://github.com/NixOS/nixpkgs/issues/16130
 - https://github.com/commercialhaskell/stack/issues/2259
2016-07-21 14:41:44 +02:00
Peter Simons 4ba794ed89 Add LTS Haskell 6.6. 2016-07-07 17:19:55 +02:00
Peter Simons ddbf655663 Add LTS Haskell versions 6.4 and 6.5. 2016-07-01 12:01:03 +02:00
Peter Simons bef99f11cb Add LTS Haskell 6.3. 2016-06-13 23:09:55 +02:00
Peter Simons 55ac62c660 Add LTS Haskell 6.2. 2016-06-07 22:02:14 +02:00
Peter Simons c571a08ff1 Add LTS Haskell 6.1. 2016-06-02 09:30:38 +02:00
Peter Simons 577f2b0005 Add LTS Haskell 6.0. 2016-05-31 22:09:54 +02:00
Peter Simons 2a83412f2a Add LTS Haskell 5.16, 5.17, and 5.18. 2016-05-25 12:27:56 +02:00
Peter Simons f6980571ab Add LTS Haskell 5.15. 2016-05-03 10:22:22 +02:00
Peter Simons f622804472 Add LTS Haskell 5.14. 2016-05-03 10:22:22 +02:00
Peter Simons 9aafa07180 Add LTS Haskell 5.13. 2016-04-20 13:46:10 +02:00
Peter Simons 834174bed5 Add LTS Haskell 5.12. 2016-04-14 09:17:55 +02:00
Peter Simons a68e670346 Add LTS Haskell 5.11. 2016-04-04 15:20:37 +02:00
Peter Simons 368324da12 Add LTS Haskell 5.10. 2016-04-04 15:20:36 +02:00
Peter Simons 511edb55bc Add LTS Haskell 5.9. 2016-03-23 18:25:26 +01:00
Peter Simons f519187063 Add LTS Haskell version 5.6, 5.7, and 5.8. 2016-03-15 13:16:54 +01:00
Peter Simons f103e0ac03 Add LTS Haskell version 5.5. 2016-03-04 22:11:25 +01:00
Peter Simons 073dd0c1ba Add LTS Haskell 5.4. 2016-02-28 11:34:59 +01:00
Philipp Hausmann fbd857ab72
uhc: 1.1.9.2 -> 1.1.9.3 2016-02-26 12:12:53 +01:00
Peter Simons 0918c6f08f Add LTS Haskell 5.3. Also add aliases that point to the respective latest LTS version. 2016-02-22 12:45:11 +01:00
John Ericson 114cd6765d haskell: Expose the package set used to build each GHC, where possible
Tested to not change hashes
2016-02-21 10:16:13 -08:00
Peter Simons 31f160e6dd Add LTS Haskell 5.2. 2016-02-09 12:00:15 +01:00
Peter Simons bb94b09f66 Add LTS Haskell 5.1. 2016-02-03 18:51:53 +01:00
Charles Strahan c01eb06954 ghcjs: build with GHC 7.10.3 2016-01-31 20:44:49 -05:00
Philipp Hausmann 22506c7bf3
uhc: Use Stackage LTS 4.1 to build UHC 2016-01-29 19:35:13 +01:00
Peter Simons 4a48931bb7 Add LTS Haskell 5.0. 2016-01-27 00:33:26 +01:00
Peter Simons 203579fb25 Add LTS Haskell 4.2. 2016-01-20 14:33:37 +01:00
Jude Taylor c6ad4841fd clean up GHC expressions 2016-01-13 12:04:18 -08:00
Jude Taylor 552207f5ef package GHC-8.0.1-rc1 2016-01-13 12:04:18 -08:00
Peter Simons 9c0fccc724 Add LTS Haskell 4.1. 2016-01-10 19:47:38 +01:00
Peter Simons d1fdc3e0cc LTS Haskell 4.x uses GHC 7.10.3. 2016-01-07 14:24:25 +01:00
Peter Simons 48e66c3925 Add LTS Haskell 4.0. 2016-01-07 12:53:50 +01:00
Peter Simons 1a07ecf9c5 Add LTS Haskell 3.20. 2015-12-28 13:25:45 +01:00
Peter Simons 4418b8b034 Add LTS Haskell 3.19. 2015-12-22 13:17:20 +01:00
Peter Simons db52259a9d Add LTS Haskell 3.18. 2015-12-17 00:32:16 +01:00