Commit Graph

2622 Commits

Author SHA1 Message Date
Peter Simons
52f4b0d344 hackage-packages.nix: re-generate from Hackage 2015-01-23T19:42:33+0100 2015-01-23 21:32:19 +01:00
Peter Simons
5f4e8dc810 haskell-hxt: fix the build by disabling the Haddock phase 2015-01-23 18:55:16 +01:00
Peter Simons
5776d0819d haskell-boundingboxes: disable failing test suite 2015-01-23 18:55:16 +01:00
Peter Simons
9a2f2e713c haskell-network-transport-zeromq: disable failing test suite 2015-01-23 18:55:16 +01:00
Peter Simons
0a2c7b4f9f haskell-paypal-adaptive-hoops: the test suite has been fixed in the latest version
Fixes https://github.com/fanjam/paypal-adaptive-hoops/issues/5.
2015-01-23 18:55:16 +01:00
Peter Simons
163a51dc67 haskell-lss: the package is deprecated (and won't build either) 2015-01-23 18:55:16 +01:00
Peter Simons
37c8cbd92f hackage-packages.nix: re-generate from Hackage 2015-01-23T17:16:39+0100
Fixes https://github.com/NixOS/nixpkgs/issues/5920.
2015-01-23 18:55:16 +01:00
Peter Simons
3b35ae7a73 cryptol: update 2.x branch to version 2.1.0 and remove broken 1.x build 2015-01-23 13:24:40 +01:00
Peter Simons
48a20a63ce haskell-alex: fix build with GHC 7.10.1-rc1 (by disabling the failing test suite) 2015-01-23 13:24:40 +01:00
Peter Simons
d3296a4542 haskell-configuration-common: clean up 2015-01-23 11:32:49 +01:00
Peter Simons
d49671c924 haskell-ng.lib: add markBrokenVersion and appendPatch helper functions 2015-01-23 11:32:48 +01:00
Peter Simons
80518eab94 haskell-configuration-ghc-7.8.x: clean up amazonkaEnv 2015-01-23 11:32:48 +01:00
Peter Simons
69cda1a7c0 haskell-generic-builder: set locale to "UTF-8" in nix-shell environments
The package builder did this already, but I forgot to add the setting in
the interactive environment.

Fixes https://github.com/NixOS/nixpkgs/issues/5904.
2015-01-23 08:19:46 +01:00
Peter Simons
1e9753c613 haskell-control-monad-free: revert to version 0.5.x to fix the build
The 0.6.x version doesn't compile with anything but GHC 7.8.4.
2015-01-22 23:25:39 +01:00
Peter Simons
843aee694d haskell-utf8-string: fix build with ghc 6.12.x
The "sed" command stopped working recently. I have no idea why, but the
new patch is simpler anyway.
2015-01-22 23:25:39 +01:00
Peter Simons
267361434b haskell-ng: fix some builds (mostly by disabling their failing test suites) 2015-01-22 22:40:21 +01:00
Peter Simons
82d814d1e9 haskell-vty: disable test suite to avoid ICE in GHC 7.8.4
Fixes https://github.com/NixOS/nixpkgs/issues/5900.
2015-01-22 22:40:21 +01:00
Peter Simons
56616ec099 haskell-ng: move configuration know-how out of cabal2nix and into Nixpkgs 2015-01-22 22:40:21 +01:00
Peter Simons
78f3bd565a hackage-packages.nix: re-generate from Hackage 2015-01-22T21:38:10+0100
This commit also implements the second part of the
4f603d1ca0
hack to work around https://github.com/NixOS/cabal2nix/issues/136

Fixes https://github.com/NixOS/nixpkgs/issues/5902.
2015-01-22 22:40:21 +01:00
Peter Simons
7dc88be121 structured-haskell-mode: use older version of haskell-src-exts and descriptive to fix the build
Fixes https://github.com/NixOS/nixpkgs/issues/5894.
2015-01-22 11:48:10 +01:00
Peter Simons
cdb43faa3d haskell-ng: lots of build fixes (mostly by disabling failing test suites) 2015-01-21 18:47:56 +01:00
Peter Simons
6d3488c7c7 cabal2nix: bump version 2015-01-21 18:47:56 +01:00
Peter Simons
e558d0e49b hackage-packages.nix: re-generate from Hackage 2015-01-21T16:32:59+0100 2015-01-21 18:47:56 +01:00
Peter Simons
c55b5eb245 haskell-ng: disable some test suites that run forever 2015-01-21 00:10:12 +01:00
Peter Simons
e6b8f4de94 hakyll: fix build (by disabling the failing test suite) 2015-01-20 23:59:31 +01:00
Peter Simons
1d6d5932cd haskell-streaming-commons: fix build on older GHC versions some more 2015-01-20 23:56:56 +01:00
Peter Simons
c64088f0ec haskell-streaming-commons: fix build on older GHC versions by way of bytestring-builder 2015-01-20 23:43:29 +01:00
Peter Simons
0eb306c5f7 haskell-cookie: fix build with older compilers 2015-01-20 23:43:29 +01:00
Peter Simons
3617e3b4df haskell-ng: disable lots of failing test suites 2015-01-20 23:43:29 +01:00
Peter Simons
99b46b64df haskell-ncurses: this package requires a pre 0.21 version of c2hs
Otherwise, the build fails, saying:

    c2hs: Errors during expansion of binding hooks:

    /nix/store/d6m9m2wqaymfiwbx11frdsm1cz7qjkdm-ncurses-5.9/include/curses.h:405: (column 2) [ERROR]  >>> Illegal type!
      The type specifiers of this declaration do not form a legal ANSI C(89) type.

This patch fixes https://github.com/NixOS/nixpkgs/issues/5873.
2015-01-20 23:43:29 +01:00
Peter Simons
1d61ab7860 haskell-glade: fix build some more 2015-01-20 23:43:29 +01:00
Peter Simons
b5fb80ffa3 haskell-aeson: fix build with ghc 7.6.x 2015-01-20 23:43:28 +01:00
Peter Simons
02016e9026 haskell-ng: disable lots of failing test suites 2015-01-20 23:43:28 +01:00
Peter Simons
0484f9f4b6 Disable many test suites. 2015-01-20 17:43:49 +01:00
Peter Simons
3948b71e83 Fix HList, digit, and filestore. 2015-01-20 17:43:49 +01:00
Peter Simons
127d278775 tasty-kat: disable test suite to fix build 2015-01-20 17:43:49 +01:00
Peter Simons
0be78f7b64 haskell-assertions: disable failing test suite 2015-01-20 17:43:49 +01:00
Peter Simons
fa7b936217 haskell-simple-sendfile: fix build some more 2015-01-20 17:43:49 +01:00
Peter Simons
5f2db0b0e5 cabal2nix: bump version 2015-01-20 17:43:49 +01:00
Peter Simons
c1dde7669b haskell-simple-sendfile: fix build by disabling the test suite 2015-01-20 17:43:49 +01:00
Peter Simons
039493ee89 haskell-tabular: the library works without a jailbreak now 2015-01-20 17:43:48 +01:00
Peter Simons
2ab7e1d950 disable test suites for graceful and serialport. 2015-01-20 17:43:48 +01:00
Peter Simons
d2c7b78cbf haskell-permutation: disable test suite
The build uses QuickCheck, but doesn't declare it as a dependency. I
tried adding QuickCheck to the list, but then it wouldn't compile with
the latest version. Duh. Seems unmaintained to me.
2015-01-20 17:43:48 +01:00
Peter Simons
b671ab161f haskell-zip-archive: fix test suite 2015-01-20 17:43:48 +01:00
Peter Simons
5dac8b316c haskell-glade: fix build 2015-01-20 17:43:48 +01:00
Peter Simons
a83e3ac32c Fix vector and parallel builds with ghc 6.12.x. 2015-01-20 17:43:48 +01:00
Peter Simons
e5f3a7b5ed haskell-trifecta: fix sha256 hash for patch file 2015-01-20 17:43:48 +01:00
Peter Simons
4531b31d75 haskell-doctest: fix builds with old ghc 2015-01-20 17:43:48 +01:00
Peter Simons
0b05129b88 happy: fix build with GHC 7.2.x 2015-01-20 17:43:48 +01:00
Peter Simons
4ab133a2c4 haskell-ng: fix 'gio' and 'pango' builds
This fixes https://github.com/NixOS/nixpkgs/issues/5863.
2015-01-20 17:43:48 +01:00
Peter Simons
b9c761966b happy: fix build with ghc-7.2.x 2015-01-20 17:43:48 +01:00
Peter Simons
8065da399c hackage-packages.nix: update from Hackage 2015-01-20T16:19:05+0100 2015-01-20 17:43:48 +01:00
Peter Simons
9ab8a12b06 haskell-generic-builder: re-enable the checkPhase that was accidentally broken in the earlier re-factoring 2015-01-20 16:17:14 +01:00
Peter Simons
f8710f9d81 haskell-ng: fix several builds with old versions of GHC 2015-01-19 23:15:29 +01:00
Peter Simons
8959aade32 haskell-generic-builder: allow setting preUnpack and postUnpack hooks
This is useful for Hydra builds that have more than one package in the
same repository and need to change to the proper directory.
2015-01-19 23:15:29 +01:00
Peter Simons
8d19893725 hackage-packages.nix: re-generate from Hackage 2015-01-19T13:54:06+0100 2015-01-19 23:15:29 +01:00
Peter Simons
134d1a80c6 Add a package set for GHC 7.10.1-rc1 and bump GHC HEAD to 7.11.x.
Fixes https://github.com/NixOS/nixpkgs/issues/5836.
2015-01-19 13:55:31 +01:00
Peter Simons
486ee12f77 Merge pull request #5818 from purefn/master
disable tests on haskellngPackages.http-media and jwt
2015-01-18 21:17:33 +01:00
Richard Wallace
a5a27d3949 disable checking on haskellngPackages.jwt 2015-01-18 13:09:13 -07:00
Peter Simons
35e5f59aee Cabal-1.22.0.0: fix build with GHC 7.2.2 2015-01-18 12:58:31 +01:00
Peter Simons
380114738f haskell-ng: rename "noHaddock" attribute to "doHaddock"
This makes the attribute (a) consistent with "doCheck" and friends and (b)
avoids the double negation "noHaddock = false" meaning "doHaddock = true".

Fixes https://github.com/NixOS/cabal2nix/issues/63.
2015-01-18 12:58:31 +01:00
Peter Simons
8c833f2a12 hackage-packages.nix: re-generate from Hackage 2015-01-18T10:18:52+0100 2015-01-18 12:58:31 +01:00
Richard Wallace
7abfc12a9a disable tests on http-media 2015-01-17 16:49:16 -07:00
Peter Simons
ce06d504bb cabal2nix-2.x: bump to latest version 2015-01-17 23:43:27 +01:00
Peter Simons
3274e5cad2 hackage-packages: disable all Hydra builds have never succeeded 2015-01-17 23:40:09 +01:00
Peter Simons
703bf2978d haskell-unordered-containers: fix build with GHC 7.4.2 2015-01-17 20:29:00 +01:00
Peter Simons
51457dd687 haskell-primitive: fix build with GHC 7.4.2 2015-01-17 20:29:00 +01:00
Peter Simons
3dae215667 haskell-utf8-string: fix build on GHC 6.12.x 2015-01-17 20:29:00 +01:00
Peter Simons
a317a4ae11 haskell-configuration-ghc-7.8.x: cosmetic changes to amazonka environment 2015-01-17 20:29:00 +01:00
Peter Simons
7c1eae89f0 hackage-packages.nix: update from Hackage 2015-01-17T11:39:27+0100 2015-01-17 20:29:00 +01:00
Peter Simons
54bbfd5440 haskell-generic-builder: re-factor for improved modularity 2015-01-17 20:29:00 +01:00
Peter Simons
e6ecb1fb83 haskell-ng: enable package sets for GHC 6.12.3, 7.0.4, 7.2.2, and 7.4.2 2015-01-17 20:29:00 +01:00
Peter Simons
d1fc5370e9 ghc: pass explicit 'ncurses' path to ./configure instead of finding through the environment
Fixes https://github.com/NixOS/nixpkgs/issues/5616. For real this time!
2015-01-17 20:29:00 +01:00
Peter Simons
39746cb02d haskell-ChasingBottems: fix build with GHC 7.6.x 2015-01-16 21:01:24 +01:00
Peter Simons
ac82dd8233 Merge pull request #5792 from gridaphobe/darwin-haskell-ng
Haskell-ng: don't use cpphs by default on darwin
2015-01-16 09:48:25 +01:00
Cray Elliott
db85ee9e77 Add haskellngPackages.cabal2nix missing dependencies
added QuickCheck, deepseq-generics and hspec
2015-01-15 21:04:00 -08:00
Oliver Charles
415b32311f hackage-packages.nix: re-generate from Hackage 2015-01-15T22:40:10+00:00 2015-01-15 22:40:21 +00:00
Eric Seidel
ed1ca3928d don't use cpphs by default on darwin 2015-01-15 13:40:04 -08:00
Peter Simons
f93ce4faf1 haskell-configuration-common: remove redundant jailbreaks 2015-01-15 19:03:47 +01:00
Oliver Charles
d5f63e9626 haskellngPackages.th-desugar: Remove doJailbreak
Latest version builds without needing to jailbreak.
2015-01-15 14:54:15 +00:00
Oliver Charles
08d9755acb haskellngPackages.snaplet-redis: Remove doJailbreak
Now handled by hackage2nix
2015-01-15 14:53:25 +00:00
Oliver Charles
e259b1ed94 haskellngPackages.stripe: Remove doJailbreak
0.8.3 does not need to be jailbroken.
2015-01-15 14:51:44 +00:00
Oliver Charles
ef296fa407 haskell-ng.snaplet-stripe: Remove doJailbreak
Now done automatically by hackage2nix
2015-01-15 14:50:55 +00:00
Oliver Charles
2b63483bd5 haskellngPackages.fb: Update patch 2015-01-15 14:26:06 +00:00
Oliver Charles
1d4098dd03 Haskell: correct sha256 for tasty-ant-xml
For some reason hackage2nix always outputs `nil`.

CC @peti
2015-01-15 14:15:13 +00:00
Oliver Charles
0305f3b797 hackage-packages.nix: re-generate from Hackage 2015-01-15 14:11:26+00:00 2015-01-15 14:11:32 +00:00
Peter Simons
0e6fd630a4 hackage-packages.nix: drop hard-coded configureFlags and add automatic jailbreaks
The new version of hackage2nix adds an automatic jailbreak=true attribute to
all builds that are known to fail because of unsatisfied dependency version
constraints. Of course, hackage2nix is only able to detect these problems for
the default package set -- "haskellngPackages" -- that's built with GHC 7.8.4.
It cannot know problems that might arise if you build a package with a
different version of GHC, which comes with different versions of the core
libraries. This change "fixed" 806 builds: http://hydra.cryp.to/eval/85620.

Please pay attention to possible jailbreaks when reporting build errors
upstream! If a build was run with jailbreaking enabled, the build log says

 | Running jailbreak-cabal to lift version restrictions on build inputs.

at the very top. Upstream bug reports about build errors should contain that
information, i.e. the package author should know that you're building with
different (newer!) library versions than they're specifying.

Furthermore, build expressions no longer contain an explicit list of every
Cabal flag setting. Instead, we trust that Cabal figures out an appropriate
configuration at build time. This makes the build expressions more space to
adapt to different configuration at the cost of being slightly less
deterministic.
2015-01-15 10:15:13 +01:00
Peter Simons
02caf57cee jailbreak-cabal: build with Cabal 1.18.x on GHC 7.6.x 2015-01-15 10:15:11 +01:00
Peter Simons
ee158bf659 Cabal-1.18.x: remove unnecessary jailbreak 2015-01-15 10:15:11 +01:00
Peter Simons
5bb103b4b2 haskell-vector: fix test suite on i686 2015-01-15 10:15:10 +01:00
Peter Simons
841b829fcd haskell-ng: bump cabal2nix to latest Git version 2015-01-15 10:15:10 +01:00
Peter Simons
e8b14bd783 hackage-packages.nix: update from Hackage 2015-01-14T14:28:46+0100 2015-01-15 10:15:10 +01:00
Peter Simons
df76eb1268 ghc: revert "propagate 'gmp' and 'ncurses' to ensure users can link the 'haskeline' library, etc."
I thought that [1] could be fixed by ensuring that ncurses is available in the
environment (because ghc exports it as a propagateBuildInput), and indeed that
change fixed *some* build failures we've had before. However, the same error
still occurs with other packages, like hledger [2] and Agda [3]. Frankly, I
have no idea why those packages fail and others don't. But clearly the fix was
inadequate, so I'm reverting commit a8076c76.

[1] https://github.com/NixOS/nixpkgs/issues/5616
[2] http://hydra.cryp.to/build/372451/nixlog/1/raw
[2] http://hydra.cryp.to/build/373161/nixlog/1/raw
2015-01-14 22:24:33 +01:00
Oliver Charles
5b70a64286 haskell-ng.fb: Apply a patch to use monad-control >= 1.0.0
Manually applying the patch at
https://github.com/prowdsponsor/fb/pull/33
2015-01-14 14:10:34 +00:00
Oliver Charles
0059182821 snaplet-stripe: Jailbreak
Necessary until https://github.com/LukeHoersten/snaplet-stripe/pull/4 is
merged and released.
2015-01-14 13:54:16 +00:00
Oliver Charles
dd0bde0b3b haskell-ng.stripe: Jailbreak
Necessary until https://github.com/michaelschade/hs-stripe/pull/37 is
merged and released.
2015-01-14 13:51:49 +00:00
Oliver Charles
3dbb43e62e haskell-ng.snaplet-redis: Jailbreak
Necessary until https://github.com/dzhus/snaplet-redis/pull/11 is merged and released.
2015-01-14 13:47:38 +00:00
Oliver Charles
9c71a83fd1 haskellng.th-desugar: Don't run the tests
Tests fail to build, see
https://github.com/goldfirere/th-desugar/issues/21
2015-01-14 13:40:11 +00:00
Oliver Charles
06cfa238df hackage-packages.nix: re-generate from Hackage 2015-01-14T12:32:30+00:00 2015-01-14 12:32:35 +00:00
Peter Simons
a8076c7654 ghc: propagate 'gmp' and 'ncurses' to ensure users can link the 'haskeline' library, etc.
Fixes https://github.com/NixOS/nixpkgs/issues/5616.
2015-01-14 11:24:59 +01:00
Peter Simons
30904c7789 hackage-packages.nix: re-generate from Hackage 2015-01-14T09:34:03+0100 2015-01-14 11:24:16 +01:00
Peter Simons
007628fd49 haskell-generic-builder: use cpphs pre-processor by default on Darwin
Allegedly, the cpp implementation of Clang is weird and causes errors.
2015-01-13 22:33:17 +01:00
Peter Simons
67312f83ad haskell-generic-builder: pass "--with-gcc=$CC" on Darwin to help Cabal find Clang
Suggested in https://github.com/NixOS/nixpkgs/pull/5746.
2015-01-13 22:33:01 +01:00
Peter Simons
d6ed34170d haskell-configuration-common: fix reference to optparse-applicative_0_10_0 2015-01-13 20:43:18 +01:00
Peter Simons
9da7482e87 haskell-configuration-common: minor cosmetic 2015-01-13 20:22:07 +01:00
Tom Hunger
123039c22e haskellng: Make haskell-zeromq4 pick up the correct zeromq nix package. 2015-01-13 18:36:36 +00:00
Tom Hunger
381ba6b22f haskellng: disable safecopy's broken tests. 2015-01-13 18:00:01 +00:00
Tom Hunger
ffe05e7476 haskellng: Fix elm ecosytem by adding a few special cases. 2015-01-13 17:35:14 +00:00
Peter Simons
51b9c9b262 idris: fix build with GHC 7.8.x 2015-01-13 15:21:51 +01:00
Shea Levy
2ba3653ef6 Update hackage-packages
Includes NixOS/cabal2nix#127
2015-01-13 08:55:02 -05:00
Peter Simons
e4a68f0b98 haskell-ng: add more tools to our help function library 2015-01-13 12:44:53 +01:00
Shea Levy
9e114ccd26 haskellng: Make amazonka env externally visible 2015-01-12 18:13:40 -05:00
Shea Levy
3dc5be9ec5 More amazonka packages on 7.8 2015-01-12 20:58:57 +00:00
Shea Levy
67460ea19f haskellng: Fix amazonka-core on 7.8
Required adding a flag to the generic builder to build Setup.hs with
core packages even if there is an override in buildInputs, to break
circular dependencies.
2015-01-12 15:41:03 -05:00
Shea Levy
d30e9082bb D'oh 2015-01-12 12:20:42 -05:00
Shea Levy
3f714f32ac overrideCabal: Preserve overrideScope attr 2015-01-12 12:18:46 -05:00
Peter Simons
8e25e4e368 hackage-packages.nix: break infinite recursions and other evaluation errors 2015-01-12 16:35:15 +01:00
Peter Simons
2225b43bd4 hledger-web: test suite has been fixed 2015-01-12 16:35:14 +01:00
Peter Simons
36b5b900db haskell-modules-lib: add 'markBroken' helper function 2015-01-12 16:35:14 +01:00
Peter Simons
fecd280708 haskell-configuration-ghc-7.9.x: we can use a doctest release version now 2015-01-12 16:35:14 +01:00
Peter Simons
f7bca36c53 hackage-packages.nix: re-generate from Hackage 2015-01-12T10:33:40+0100 2015-01-12 16:35:14 +01:00
Shea Levy
e0b270efc9 Fix http-date build on ghc 7.10 2015-01-12 09:58:56 -05:00
Shea Levy
baa634cf18 Fix retry build on ghc 7.10 2015-01-12 09:46:35 -05:00
Shea Levy
2f5cd9ec85 haskell-chell: Fix for 7.10.1 2015-01-12 09:37:20 -05:00
Shea Levy
c972ea1e8c haskell-options: Fix for 7.10.1 2015-01-12 09:14:50 -05:00
Peter Simons
87eba920fa haskell-lib.nix: fix doCheck helper 2015-01-12 01:28:15 +01:00
Peter Simons
2f4dc089a9 haskell-ng: fix transformers-compat for GHC 7.6.x 2015-01-11 20:56:21 +01:00
Peter Simons
f49fa1f20b hackage-packages.nix: re-generate to fix ALUT 2015-01-11 20:56:21 +01:00
Peter Simons
4cd9c8c3ae haskell-ng: jailbreak AbortT-transformers to fix the build 2015-01-11 20:56:21 +01:00
Peter Simons
cfc2aeaa91 haskell-ng: disable ABList test suite to fix the build 2015-01-11 20:56:21 +01:00
Peter Simons
3e64a6e382 haskell-ng: fix 7.6.3 build of hashable 2015-01-11 20:56:21 +01:00
Peter Simons
921bb64a6d haskell-ng: fix old Cabal builds 2015-01-11 20:56:21 +01:00
Peter Simons
bca9b8d867 haskell-generic-builder: make $shellHook in 'env' attribute more robust
In case our GHC environment is empty, the old code ended up running
'grep export' on a GHC binary, which doesn't seem like a good idea.
2015-01-11 11:59:47 +01:00
Peter Simons
dbb4012fdc haskell-generic-builder: add a helpful message that explains why it makes no sense to build an 'env' attribute 2015-01-11 11:39:16 +01:00
Peter Simons
7fa32aecd1 haskell-cabal-test-quickcheck: fix build with GHC 7.8.4 2015-01-11 01:46:30 +01:00
Peter Simons
b31082d246 haskell-generic-builder: propagate build inputs only if we're building a library 2015-01-10 23:54:30 +01:00
Peter Simons
be8219e35b haskell-ng: disable broken ghcjs build 2015-01-10 23:36:59 +01:00
Peter Simons
2ff8d1940f haskell-configuration-*: polish compiler-specific overrides 2015-01-10 23:36:59 +01:00
Peter Simons
55003ca34b pkgs/development/haskell-modules/lib.nix: add funky helper function for overriding 2015-01-10 23:36:59 +01:00
Peter Simons
7e2f1493b7 haskell-ng: update to jailbreak-cabal 1.2, which supports Cabal 1.22.x now 2015-01-10 18:50:49 +01:00
Shea Levy
e4c9a521ef haskellng: remove amazonka patches.
New amazonka was released.

@peti Long-term, is there a way to have hackage2nix warn about patched
packages?
2015-01-10 11:35:25 -05:00
Peter Simons
11ac18a6e6 haskell-ng: update cabal2nix snapshot 2015-01-10 15:55:47 +01:00
Peter Simons
89b5d9ee14 haskell-generic-builder: add an 'env' attribute to every Haskell expression that can be used with nix-shell to create an interactive build environment for this package
For example:

  nix-shell --pure ~/.nix-defexpr -A haskell-ng.packages.ghc784.hsdns.env
2015-01-10 15:55:47 +01:00
Peter Simons
f36973ce83 haskell-ng: Make ghcWithPackages available as ghc.withPackages, too. 2015-01-10 15:55:47 +01:00
Peter Simons
afca6145d4 haskell-generic-builder: simplify "package.conf.d" management
The builder creates a temporary package.conf.d database in $TMP that
contains everything required to build the current package (i.e. the
transitive closure of the package's propagated build inputs). These
files are no longer installed, however, we just install the package.conf
file for the package we're actually building. This means that
package.conf.d directory in $out won't have collisions anymore, which
simplifies the with-packages-wrapper.nix a bit.
2015-01-10 15:55:47 +01:00
Peter Simons
fa27f2af5b hackage-packages.nix: rebuild from Hackage 2015-01-10T13:56:15+0100 2015-01-10 15:55:47 +01:00
Peter Simons
cbca401a04 configuration-ghc-7.9.x: fix license attribute for doctest override 2015-01-10 15:55:46 +01:00
Peter Simons
2d83ff9f3e haskell-configuration-ghc-7.9.x: use current Git HEAD of doctest to fix lots of test suites 2015-01-10 11:31:04 +01:00
Peter Simons
60ecd42514 haskell-ng: add current Git version of cabal2nix to the package set
nix-env -iA haskellPackages.cabal2nix    ==> 1.x branch
  nix-env -iA haskellngPackages.cabal2nix  ==> 2.x branch
2015-01-10 11:31:04 +01:00
Shea Levy
6e008f05ab haskellng: Get amazonka family building
amazonka-0.0.7 is broken, so I also updated hackage-packages after
applying NixOS/cabal2nix#119.
2015-01-09 19:03:27 -05:00
Shea Levy
60fec84379 Disable split testsuite on 7.10 2015-01-09 17:02:42 -05:00
Shea Levy
dd558e0baa Disable old-locale for aeson on 7.10
@peti why does hackage2nix enable that flag anyway?
2015-01-09 16:24:38 -05:00
Shea Levy
69f5738668 attoparsec: Fix build for 7.10 2015-01-09 16:18:16 -05:00
Shea Levy
4d325bcede haskellng: bump text-icu
Taken from d2566a190e
2015-01-09 15:55:22 -05:00
Shea Levy
473b0d9535 Revert "hackage-packages.nix: Update to 2015/01/09-20:00 UTC"
For some reason this set a lot of native dependencies to null. I'll just
take the text-icu bump by itself for now.

@peti how am I meant to use hackage2nix?

This reverts commit d2566a190e.
2015-01-09 15:53:35 -05:00
Shea Levy
d2566a190e hackage-packages.nix: Update to 2015/01/09-20:00 UTC
Needed text-icu bump
2015-01-09 15:03:42 -05:00
Shea Levy
b1c3c3276d Miscellaneous ghcHEAD fixes 2015-01-09 14:57:39 -05:00
Shea Levy
93b75f6284 ghc-ng-7.10: More doctest fixes 2015-01-09 14:07:36 -05:00
Peter Simons
adf0a891be haskell-configuration-ghc-7.9.x: add a couple of overrides to disable failing test suites (mostly doctest) 2015-01-09 19:55:25 +01:00
Peter Simons
2761c63bcf configuration-ghc-7.9.x: GHC 7.10.1-rc1 can build Haddock documentation, but it cannot build Hoogle files 2015-01-09 19:55:25 +01:00
Peter Simons
2f2f767813 haskell-generic-builder: allow selective enabling/disabling of the --hoogle flag to Haddock 2015-01-09 19:55:25 +01:00
Michael Raskin
e67bb36821 Work around buildEnv sometimes deciding to make bin a symlink 2015-01-09 21:40:06 +03:00
Shea Levy
ad632cc9c8 utf8-string has too string base upper bound 2015-01-09 13:38:34 -05:00
Shea Levy
119f5baa22 Fix transformers-compat on 7.10-ng 2015-01-09 13:33:10 -05:00
Peter Simons
38e2e8702c ghcWithPackages: call this derivation exactly like the compiler it's based on
Furthermore, export "name" and "version" attributes that match those of the
underlying compiler. These changes make a ghcWithPackages-generated wrapper
look exactly like a normal GHC derivation and it can be used anywhere in
Nixpkgs where a normal GHC would be used.
2015-01-09 19:30:14 +01:00
Peter Simons
96ae5d58bf haskell-configuration-ghc-7.9.x: steal a working jailbreak-cabal binary from the 7.8.4 package set to alleviate the effects of https://github.com/peti/jailbreak-cabal/issues/3 2015-01-09 19:17:59 +01:00
Peter Simons
388848fa9f haskell-configuration-ghc-7.8.x: various build fixes
- mtl-2.2.x needs transformers 0.4.x.
 - time-1.5.x can't build its test suite.
 - provide deep overrides for amazonka-* stuff to build with GHC 7.8.x
2015-01-08 18:50:19 +01:00
Peter Simons
3c8b33eee4 haskell-modules: implement overrideScope method for deep overriding
deepOverride turns out to be completely unfeasible for non-trivial overrides.
Nix evaluates for an eternity, and then comes back saying:

  Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
  nix-instantiate killed by signal 6

The hand-written deep-override, on the other hand, performs the job in a
fraction of a second, no problem.

All bow to Russell O'Connor!
2015-01-08 18:50:19 +01:00
Peter Simons
d737d463c6 hackage-packages.nix: update from Hackage 2015-01-08T16:50:56+0100
This update also brings monad-control version 1.x by default, and some
additional (older) versions of the amazonka package family.
2015-01-08 18:50:19 +01:00
Peter Simons
197e7672e6 haskell-configuration-ghc-7.9.x: improve configuration to fix some builds 2015-01-08 13:46:47 +01:00
Peter Simons
0811375a69 haskell-configuration-common: cosmetic 2015-01-08 13:46:47 +01:00
Peter Simons
54baa53df1 Say hello to our brand-new Haskell infrastructure. 2015-01-07 23:45:21 +01:00