Commit Graph

49 Commits

Author SHA1 Message Date
Peter Simons
8da218c34e haskell-defaults.nix: fix quickcheck-io build with GHC 7.2.2 2013-12-29 14:12:57 +01:00
Peter Simons
da71287281 haskell-defaults.nix: use the old version of pretty-show with ghc 7.2.2
The old compiler cannot build Happy 1.19.2.
2013-12-29 13:18:22 +01:00
Peter Simons
b06f53900d haskell-defaults.nix: ensure that hspec-expectations uses the same version of HUnit as quickcheck-io 2013-12-29 13:18:22 +01:00
Peter Simons
7e51f66bea Fix GHC 7.2.2 build of Haskell Platform 2012.2.0.0. 2013-12-29 12:26:07 +01:00
Peter Simons
9f37ace519 haskell-bmp: don't use the latest version because it requires binary >= 0.6; a version that no released compiler has yet 2013-12-29 12:26:06 +01:00
Peter Simons
634e636792 haskell-defaults.nix: fix evaluation of the ghc 7.2.2 package set 2013-12-29 12:26:06 +01:00
Peter Simons
7e94212b0d haskell: don't provide 'binary' default, instead we override that
attribute in the compiler-specific package set

binary has become a core package in ghc 7.4.2, so we cannot easily build
stuff with our own version of it. (Least not without Cabal warning about
version conflicts in the build log.)
2013-12-29 12:26:05 +01:00
Peter Simons
6ea52bf49a haskell-defaults.nix: cabal2nix now requires Cabal 1.16.x or later 2013-12-29 12:26:05 +01:00
Peter Simons
736ff4ae2a haskell-quickcheck-io: override versions of HUnit and QuickCheck on older versions of Haskell Platform 2013-12-15 22:37:42 +01:00
Peter Simons
46e1f71e2d haskell-defaults.nix: ghc-head builds 'cabal-install' using its internal version of Cabal, which is newer or equal to the latest release 2013-12-06 12:02:24 +01:00
Peter Simons
dc662dcaa2 ghc-head: update to today's git snapshot and arbitrarily dub it version 7.7.20131202 2013-12-03 22:23:20 +01:00
Peter Simons
ad2d8fdfb9 Don't override deepseq globally in Cabal 1.18.x.
Deepseq is a core package, and building Cabal with a version that differs from
the one shipped with GHC is probably not a good idea.

For GHC 7.0.x, however, we must override deepseq, because the library just
won't build otherwise.
2013-11-11 14:39:58 +01:00
Peter Simons
5a1e9a9cf2 haskell-binary: re-add version 0.6.0.0 for the benefit of GHC 6.10.4 2013-06-15 13:18:51 +02:00
Peter Simons
12c9251a3d haskell-defaults.nix: add overrides to fix the latest cabal-install build with older GHC versions 2013-06-15 12:12:08 +02:00
Peter Simons
0dfe09b6c9 haskell-bmp: update to version 1.2.5.1
GHC versions prior to 7.6.x cannot compile this version, so override the 'bmp'
attribute for those compilers to version 1.2.2.1 in haskell-defaults.nix.
2013-06-05 12:17:35 +02:00
Peter Simons
fb45ff9994 haskell-binary: prefer the version from Hackage over that shipped with GHC
The binary package shipped with GHC is ancient, and some software (like
statistics and criterion) doesn't compile with it.
2013-05-30 12:33:43 +02:00
Peter Simons
f47d100de7 Switch GHC 7.6.x to Haskell Platform 2013.2.0.0. 2013-05-12 16:13:10 +02:00
Peter Simons
fdf1d45a38 ghc: add version 7.6.3 (and a corresponding package set) 2013-04-21 20:10:27 +02:00
Peter Simons
916aa90491 haskell-pretty-show: add old version 1.2, which still builds fine with GHC 7.0.4 2013-04-20 20:16:27 +02:00
Peter Simons
6692fbd0ae haskell-defaults.nix: remove useless for cabal2nix on GHC 6.10.4
We cannot build 'tar' on that platform, which is a dependency of cabal2nix.
2013-03-30 00:12:36 +01:00
Peter Simons
edfcb485a8 jailbreak-cabal: build jailbreak-cabal with a version of Cabal that has its unit tests disabled
Cabal's unit test suite depends on testFrameworkQuickcheck2, which
depends on jailbreakCabal, which depends on Cabal: *BOOM*
2013-03-09 13:04:19 +01:00
Peter Simons
63cd00856e haskell-defaults.nix: don't pass inconsistent Cabal versions to cabal2nix 2013-03-09 13:04:19 +01:00
Peter Simons
3704855f78 pkgs/top-level/haskell-defaults.nix: cosmetic 2013-03-09 13:04:19 +01:00
Peter Simons
7aad2ce101 haskell-defaults.nix: fix build of cabal2nix on GHC versions older than 6.12.x
Cabal2nix needs version 1.10.x or later of the Cabal library.
2013-02-25 01:25:05 +01:00
Aristid Breitkreuz
3a68505c6e GHC 7.6.2 2013-01-29 20:42:28 +01:00
Peter Simons
bc6627c6e9 haskell-defaults.nix: add compiler-specific overrides to fix build of cabal-install 2012-11-26 14:17:38 +01:00
Peter Simons
ce2e93a236 Update default Haskell environment to Haskell Platform 2012.4.0.0.
The most significant change brought by this update is that we now use
GHC version 7.4.2 by default.
2012-11-06 18:34:54 +01:00
Andres Loeh
a84ad8010a Add haskell-platform-2012.4.0.0 release candidate. 2012-10-03 21:12:46 +02:00
Peter Simons
d2b8b9e45a haskell-defaults.nix: drop override of repaExamples attribute in older compilers 2012-09-24 12:08:34 +02:00
Eelco Dolstra
e6077fbc46 Remove getConfig helper function
An expression like ‘getConfig [ "cabal" "libraryProfiling" ] false’
can be written more concisely as ‘config.cabal.libraryProfiling or false’.
2012-09-19 13:56:56 -04:00
Andres Loeh
14fe075e06 Make regex-compat and regex-posix compile with ghc-7.6.1. 2012-09-13 19:33:52 +02:00
Peter Simons
33e67e8394 ghc-head: update to version 7.7.20120912 2012-09-13 15:50:15 +02:00
Peter Simons
52454d7593 ghc-7.4.2: add binary snapshot required for bootstrapping ghc 7.7.x 2012-09-13 15:49:42 +02:00
Peter Simons
bbf098baa8 haskell-defaults.nix: extensible-exceptions is not a part of GHC 7.6.1 2012-09-10 15:59:20 +02:00
Peter Simons
5bde8b0985 Override 'Cabal' attribute in 'jailbreakCabal' only when building with a GHC
version older than 7.2.x. Newer compilers can use their native version of Cabal
to build this tool.
2012-09-10 15:39:44 +02:00
Andres Loeh
e093d7ea38 ghc-7.6.1-rc1: Add release candidate. 2012-08-13 16:29:01 +02:00
Peter Simons
afada80a4f Haskell Platform 2012.2.0.0 mandates deepseq 1.3.x, so let's use that for ghc 7.2.x, too. 2012-07-23 20:29:21 +02:00
Petr Rockai
bcd8fded1a In ghc 7.2.2 (and 7.2.1) deepseq is not yet part of the core set. 2012-07-23 20:29:21 +02:00
Peter Simons
da350b93a2 Updated Haskell packages.
- bson: updated to version 0.2.0
 - cpu: updated to version 0.1.1
 - defaults.nix: cosmetic
 - iteratee: updated to version 0.8.9.1
 - ListLike: updated to version 3.1.5
 - mongoDB: updated to version 1.3.0
 - packages.nix: cosmetic
 - stringsearch: added version 0.3.6.3
 - system-fileio: updated to version 0.3.8
 - wai-extra: updated to version 1.2.0.5

svn path=/nixpkgs/trunk/; revision=34517
2012-06-15 08:06:11 +00:00
Peter Simons
75cd74c72c haskell-defaults.nix: switched GHC 7.4.2 to use the Haskell Platform 2012.2.0.0 configuration
svn path=/nixpkgs/trunk/; revision=34516
2012-06-15 08:06:06 +00:00
Peter Simons
f723b4dcb4 haskell-defaults.nix: added empty 'haskellPlatform' attribute to ghcHEADPrefs
Writing generic expressions is easier if this attribute always exists.

svn path=/nixpkgs/trunk/; revision=34459
2012-06-11 15:07:33 +00:00
Peter Simons
1c9727a81c haskell-defaults.nix: explicitly set mtl version in Haskell Platform 2009.2.0.2 to fix builds with GHC 6.10.4
svn path=/nixpkgs/trunk/; revision=34458
2012-06-11 15:04:44 +00:00
Peter Simons
f0b9f401ae haskell-defaults.nix: switched ghc-7.5 pre-release to 'future' configuration
svn path=/nixpkgs/trunk/; revision=34343
2012-06-04 09:46:26 +00:00
Peter Simons
2e8c5de358 haskell-defaults.nix: updated mtl1 to the latest 1.x version (and override that choice in older compilers if necessary)
svn path=/nixpkgs/trunk/; revision=34341
2012-06-04 09:46:20 +00:00
Peter Simons
1a024eabbc haskell-packages.nix: Haskell Platform version 2012.2.0.0 is out.
Renamed 'haskellPlatformArgs_future' to 'haskellPlatformArgs_2012_2_0_0'.

svn path=/nixpkgs/trunk/; revision=34325
2012-06-03 18:26:12 +00:00
Peter Simons
6050e8749c haskell-defaults.nix: dropped 'packages_ghc741_pedantic' variant, it's identical to 'packages_ghc741' now
svn path=/nixpkgs/trunk/; revision=34284
2012-05-29 20:16:16 +00:00
Peter Simons
e6f2845b30 haskell-defaults.nix: switch ghc 7.4.1 to latest versions of 'mtl' and 'transformers'
svn path=/nixpkgs/trunk/; revision=34256
2012-05-28 10:53:46 +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
c601a302c7 Restructured Haskell packages a bit.
* There's a new file called haskell-defaults.nix.
   * The new file contains:

         - Default package version settings for each compiler version.
         - All the stuff that previously still was in all-packages.nix.

   * A relatively small part is left in all-packages.nix.

svn path=/nixpkgs/trunk/; revision=34088
2012-05-14 13:09:05 +00:00