Commit Graph

119 Commits

Author SHA1 Message Date
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