Commit graph

2543 commits

Author SHA1 Message Date
Will Fancher 05f9db601a Added self views of the interface in makeExtensibleWithInterface
Fixing the `overrideScope` in `haskellpackages`.
2017-07-14 06:43:33 -04:00
Will Fancher e11dbc3710 Update haskellPackages to use new features of makeOverridable
Instead of manually using `makeExtensible`, which broke `override`.

Fixes #26561
2017-07-12 18:36:18 -04:00
Renzo Carbonara 5f94d85e5e ghc821: init at 8.2.1-rc2 (a.k.a., 8.2.0.20170507)
The approach taken to add this package was to port over the definitions
currently existing for HEAD, and making the necessesary changes to get
this building.

The Haskell package set associated with this compiler doesn't yet
guarantee that all or most of the packages successfully build with this
new compiler, but that will improve over time after this GHC 8.2.1
is officially released and the ecosystem catches up.
2017-06-15 19:59:38 +02:00
Peter Simons e749fb1cfd Disable integer-simple variant of GHC 7.6.3 since it does not compile. 2017-03-29 20:30:27 +02:00
Peter Simons 24a69286e9 Merge pull request #23610 from ljli/hs-ghcjs-pkgs-inherit
haskellPackages: apply GHC specific overrides before GHCJS
2017-03-24 23:15:41 +01:00
David Johnson 26623240e9 Init HaLVM at 2.4.0 2017-03-10 19:31:12 -06:00
Leon Isenberg b9c7d291bc haskellPackages: apply GHC specific overrides before GHCJS
GHCJS is effectively a backend for GHC, so all the GHC version specific package set overrides should in
general apply to the GHCJS package sets, too.
2017-03-08 13:10:28 +01:00
Peter Simons 09a593b3de Drop obsolete, unmaintained haskell.packages.lts-x_y package sets.
Stack no longer uses them since a long time: https://github.com/commercialhaskell/stack/issues/2259.
2017-03-03 09:27:32 +01:00
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
Peter Simons 1ba77bf6cb Add LTS Haskell 3.17. 2015-12-17 00:32:16 +01:00
Peter Simons c08fe8407c Add haskell.packages.ghc7103 package set. 2015-12-16 21:33:56 +01:00
Peter Simons 4cca974eb6 ghc: add version 7.10.3 2015-12-09 16:03:20 +01:00
Peter Simons 40a22e40f8 Add LTS Haskell 3.16. 2015-12-02 21:00:34 +01:00
Peter Simons 7a9bb6dee2 Add LTS Haskell version 3.15. 2015-11-29 15:30:30 +01:00
Peter Simons 6fbff60f0e Add LTS Haskell 3.14. 2015-11-17 11:13:20 +01:00
Peter Simons a57c496775 Add LTS Haskell 3.13. 2015-11-10 16:19:06 +01:00
Peter Simons cdc4c4f906 LTS Haskell: add version 3.12 2015-11-05 11:57:00 +01:00
Peter Simons df1981372a Add LTS Haskell package sets for 3.10 and 3.11. 2015-10-26 13:16:21 +01:00
Peter Simons eac57e0289 lts-haskell: add version 3.9 2015-10-12 15:43:18 +02:00
Peter Simons 416adb79cb haskell: add lts 3.8 2015-10-09 12:39:13 +02:00
Peter Simons 391549c5f4 Remove the haskell.packages.ghc6104 package set.
It's broken, and no-one seems to care enough to fix it (which would be a
tricky endeavor, anyway).
2015-09-29 14:46:40 +02:00
Peter Simons e23d69c6f3 Add LTS Haskell 3.7. 2015-09-29 09:53:37 +02:00
Peter Simons 4a205c8941 Add LTS Haskell version 3.6. 2015-09-21 23:15:22 +02:00
Peter Simons 2aaa587b71 hackage-packages.nix: switch our default package set to Stackage Nightly
This update was generated by hackage2nix v20150903-82-g351b6f8 using the following inputs:

  - Hackage: af161fdf17
  - LTS Haskell: da73308b63
  - Stackage Nightly: 1994a4f865
2015-09-19 08:20:40 +02:00
Peter Simons 73d79ed945 ghc: re-add version 7.8.3, which is required for LTS support 2015-09-15 16:23:46 +02:00
Peter Simons dea5d87e42 ghc-7.10.2: enable documentation builds by passing the required XML/XSLT toolchain
Closes https://github.com/NixOS/nixpkgs/issues/9265.

Also, pass a hscolour binary to get source code links in the generated Haddock
documentation: closes https://github.com/NixOS/nixpkgs/issues/2985.
2015-08-31 16:49:37 +02:00
Peter Simons d7055b15b7 ghc: drop obsolete version 7.10.1
The new 7.10.2 version works fine.
2015-08-31 16:46:39 +02:00
Peter Simons fcb8d47fcd Switch ghcjs to ghc 7.10.2. 2015-08-07 15:13:14 +02:00
Kosyrev Serge 5fee7af3ba ghc: add haskell.compiler.ghcNokinds, for Richard Eisenberg's 'nokinds' branch 2015-07-06 11:09:28 +03:00
Peter Simons df4fb819be ghc: add release candidate 2 for compiler version 7.10.2 2015-07-05 20:56:29 +02:00
Peter Simons 92312e17e8 Move definitions of 'uhc' and 'jhc' to 'haskell.compiler' attribute set. 2015-05-15 15:28:09 +02:00
Peter Simons 1e0ab1d4ce haskell-packages.nix: remove unused attribute 'haskell.compiler.ghc'
All compilers in that attribute set are versioned.
2015-05-15 15:20:24 +02:00
Peter Simons c0c82ea2eb Replace old "haskellPackages" code with Haskell NG. 2015-05-04 12:27:02 +02:00
Peter Simons 019b18722d cabal2nix: bump to latest version and wrap it to include nix-prefetch-scripts in $PATH 2015-04-23 14:12:43 +02:00
Mateusz Kowalczyk 33d52b37f3 haskell-yi: improve wrapper and use haskell-ng
Now pkgs.yi is the package to use and override
2015-04-15 21:31:17 +01:00
Domen Kožar 7cc31b6b49 fix eval 2015-04-02 22:30:28 +02:00
Peter Simons acdc2c019d ghcjs-dom in the old package set doesn't evaluate any more. 2015-03-29 03:34:04 +02:00
Charles Strahan d590a0f4b6 ghcjs: support for Haskell-NG
closes #5828
closes #6786
2015-03-29 03:34:04 +02:00
William Roe f0a6d09bf0 Haskell llvm-general 3.4.4.0 requires LLVM==3.4.* 2015-03-22 01:13:15 +00:00
Itai Zukerman 25e9475b19 Added Haskell package vector-fftw. 2015-02-07 22:29:40 -08:00
Peter Simons ebc0ecd50a Merge pull request #5686 from dbeecham/master
Added haskell-web-routes-happstack, bump haskell-prelude.
2015-01-26 08:29:13 +01:00
Julian K. Arni 9d0f45df90 Add haskell package logsink. 2015-01-26 11:37:11 +08:00
Kris Jenkins fb4a6119b6 Updating Elm packages.
This includes updates to elm -compiler, -make, -package and -reactor.
-repl's test suite currently breaks.

The build for elm-reactor could be more concise, but it's clean. The
final build step for elm-reactor ultimately relies on elm-package
downloading some libraries, so anything radically better would probably
need nix to step in and somehow emulate elm-package. That would take
more knowledge about elm & nix than I have...
2015-01-19 09:31:35 +00:00
Nikolay Amiantov b2a6fd6059 yesod-pagination: add Haskell package 2015-01-15 22:26:41 +03:00
Peter Simons ee62982af7 Merge pull request #5679 from nkaretnikov/yesod-markdown
New Haskell package: yesod-markdown
2015-01-14 20:03:14 +01:00
Nikita Karetnikov bbb304fbbd New Haskell package: yesod-markdown 2015-01-14 01:10:11 +03:00
Peter Simons c11f898e7e Merge pull request #4548 from echo-oddly/clash
new package: clash
2015-01-13 22:45:02 +01:00
Oliver Charles 9669b4a0e8 Merge pull request #5740 from alpmestan/add-haskell-sitemap
add the 'sitemap' haskell package
2015-01-13 13:35:56 +00:00
Oliver Charles 304819b3a3 haskellPackages.exhaustive: New expression 2015-01-13 13:25:37 +00:00
Alp Mestanogullari 126955d050 add the 'sitemap' haskell package 2015-01-13 12:04:21 +01:00
Daniel Beecham 8dd2352dd0 Added haskell-web-routes-happstack 2015-01-10 14:11:22 +01:00
Kris Jenkins 63951837e7 Correcting some non-camel-cased haskell-packages entries. 2015-01-09 12:50:30 +00:00
Michael Raskin 9438fa4d3f Add haskellPackages.unique 2015-01-09 03:21:38 +03:00
Peter Simons 50b2fab866 Merge pull request #5646 from mpickering/master
Add psqueues and slack-api haskell packages
2015-01-08 21:41:41 +01:00
Matthew Pickering 0b8ca844a5 Register psqueues and slack-api package 2015-01-08 19:15:55 +00:00
Shea Levy 5cb62016a5 Revert "Add amazonka, amazonka-core, amazonka-cloudwatch haskell packages"
Unnecessary change to the haskell packages infrastructure, will move
this to haskellng packages.

This reverts commit 0f04707953.
2015-01-08 09:38:47 -05:00
Shea Levy 0f04707953 Add amazonka, amazonka-core, amazonka-cloudwatch haskell packages
Required adding a deep override mechanism to haskell packages
2015-01-06 14:42:37 -05:00
Oliver Charles 302f056f91 haskellPackages.nonEmpty: New expression 2015-01-06 15:05:24 +00:00
Peter Simons d7798d1b8b Merge pull request #5590 from jmwoehr/classy-prelude-yesod
New Haskell package: classy-prelude-yesod
2015-01-05 20:37:15 +01:00
Peter Simons 0c99319efe Merge pull request #5591 from dmalikov/master
haskellPackages.xmonadScreenshot: add 0.1.0.0
2015-01-05 20:36:30 +01:00
Peter Simons dc70244447 Update HEAD versions of Cabal and cabal-install version to 1.22.0.0. 2015-01-05 18:39:19 +01:00
Dmitry Malikov 712186fa43 haskellPackages.xmonadScreenshot: add 0.1.0.0 2015-01-05 19:48:05 +03:00
Peter Simons 88de70ebd4 Merge pull request #5585 from jraygauthier/diagrams-builder
Add haskell diagrams-builder package and its wrapper.
2015-01-05 12:52:08 +01:00
Peter Simons d458e93758 Merge pull request #5584 from jmwoehr/yesod-newsfeed
New Haskell package: yesod-newsfeed
2015-01-05 12:51:23 +01:00
Raymond Gauthier bbed7f95cd Add haskell diagrams-builder package and its wrapper. 2015-01-04 21:53:44 -05:00
Michael Raskin ba574e54c5 Add haskellPackages.reverse-apply 2015-01-05 03:03:30 +03:00
Jordan Woehr bac9085ba9 New Haskell package: yesod-newsfeed 2015-01-04 15:37:42 -07:00
Jordan Woehr 8179cd52ee New Haskell package: classy-prelude-yesod 2015-01-04 15:22:04 -07:00
Peter Simons f5d24141ec haskell-packages: drop redundant override for liquid-fixpoint 2015-01-04 20:56:50 +01:00
John Wiegley 8dd9fd7b20 haskellPackages.intern: new expression 2015-01-02 15:32:21 -06:00
John Wiegley f742da0a31 liquidhaskell: new expression 2015-01-02 15:29:01 -06:00
Peter Simons 9b8ff2f5f2 Update Cabal to version 1.20.0.3 and cabal-install to version 1.20.0.6. 2015-01-01 23:07:41 +01:00
Peter Simons 70cfd75382 elm-make: re-generate with cabal2nix 2015-01-01 23:07:41 +01:00
Peter Simons e30a2d6a0b haskell-webkitgtk3: re-generate with cabal2nix 2015-01-01 23:07:41 +01:00
Peter Simons e0def54ca4 Merge pull request #5513 from k0ral/webkitgtk3
New haskell package: webkitgtk3
2015-01-01 19:50:16 +01:00
Tom Hunger c53b959c0e Update elm to 0.14.
Note that elm has a different package split: The old Elm 0.13 package
is now elm-compiler, elm-make and elm-package.

Instead of invoking "elm" one now has to use "elm-make".

I kept the 0.13 version of elm around in case someone depends
on it.
2015-01-01 15:45:30 +01:00
Charles Strahan df55381b65 ghcjs: restructure 2014-12-31 00:03:43 -05:00
koral e00e679d12 New haskell package: webkitgtk3 2014-12-30 21:32:09 +01:00
Charles Strahan 289e33f852 ghcjs: don't use extension for haddock override 2014-12-27 23:10:07 -05:00
Charles Strahan a8d78dffb0 ghcjs: don't use extension to set Cabal 2014-12-27 22:09:05 -05:00
Charles Strahan 94aa6539de remove ghcServer 2014-12-27 21:57:11 -05:00
Charles Strahan 347a9674c1 ghcjs: cleanup 2014-12-27 18:48:12 -05:00
Charles Strahan f36fabb389 ghcjs: fix build 2014-12-27 16:51:39 -05:00
Charles Strahan a188373640 Merge branch 'master' of github.com:nixos/nixpkgs into ryghcjs
Conflicts:
	pkgs/development/libraries/haskell/ghcjs-dom/default.nix
	pkgs/top-level/haskell-packages.nix
2014-12-27 14:35:01 -05:00
Charles Strahan 571af5b988 ghcjs: clean up 2014-12-27 14:27:37 -05:00
John Wiegley 28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
tv ce100a5d58 journal-mailer: camelCasify attribute name 2014-12-26 16:47:18 +01:00
tv 7015c61686 journal-mailer: add version 0.1.1.0 2014-12-26 16:41:18 +01:00
Peter Simons f72fe30f86 haskell-torrent: add version 10000.0.0 2014-12-25 11:05:49 +01:00
Peter Simons 6e9800f7cb haskell-bencode: add version 0.5 2014-12-25 11:05:49 +01:00
Peter Simons ea50da9041 haskell-libnotify: re-generate with cabal2nix (and override reference to pkgs.libnotify) 2014-12-24 13:43:42 +01:00
Daniel Bergey 856fa922c4 haskell: add csv-conduit, packdeps
csv-conduit is a CSV library using conduit (streams)

packdeps is an executable to compare Haskell dependencies to latest
available versions
2014-12-19 19:35:34 +00:00
Peter Simons d461256d8b haskell-transformers-compat: update to version 0.3.3.4 2014-12-19 07:45:12 +01:00
Arseniy Seroka 5bafbd3a2e libnotify: add haskell lib 2014-12-19 01:18:08 +03:00
Peter Simons fa165e137d cabal-install: update to version 1.20.0.4
The test suite had to be disabled because of https://github.com/haskell/cabal/issues/2285.
2014-12-18 18:36:49 +01:00
Julian K. Arni 5c405a8152 Update servant packages to 0.2 2014-12-13 15:17:26 +01:00
Peter Simons 1cbd08aa15 haskell-text: update to version 1.2.0.3 2014-12-13 14:05:16 +01:00
Peter Simons 8e2b61c5d3 Build Agda and hindent with a recent version of src-exts. 2014-12-13 12:53:45 +01:00
Peter Simons 0028f765f4 haskell-type-aligned: add version 0.9.3 2014-12-13 12:53:42 +01:00
Peter Simons 299fe02d00 haskell-quickcheck-unicode: add version 1.0.0.0 2014-12-13 12:53:41 +01:00
Peter Simons f52619082e haskell-text: update to version 1.2.0.2 2014-12-13 12:53:41 +01:00