Commit graph

736 commits

Author SHA1 Message Date
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 e558d0e49b hackage-packages.nix: re-generate from Hackage 2015-01-21T16:32:59+0100 2015-01-21 18:47:56 +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 b5fb80ffa3 haskell-aeson: fix build with ghc 7.6.x 2015-01-20 23:43:28 +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 8065da399c hackage-packages.nix: update from Hackage 2015-01-20T16:19:05+0100 2015-01-20 17:43:48 +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 8d19893725 hackage-packages.nix: re-generate from Hackage 2015-01-19T13:54:06+0100 2015-01-19 23:15:29 +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
Peter Simons 3274e5cad2 hackage-packages: disable all Hydra builds have never succeeded 2015-01-17 23:40:09 +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
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
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 e8b14bd783 hackage-packages.nix: update from Hackage 2015-01-14T14:28:46+0100 2015-01-15 10:15:10 +01: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 30904c7789 hackage-packages.nix: re-generate from Hackage 2015-01-14T09:34:03+0100 2015-01-14 11:24:16 +01:00
Shea Levy 2ba3653ef6 Update hackage-packages
Includes NixOS/cabal2nix#127
2015-01-13 08:55:02 -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 f7bca36c53 hackage-packages.nix: re-generate from Hackage 2015-01-12T10:33:40+0100 2015-01-12 16:35:14 +01:00
Peter Simons f49fa1f20b hackage-packages.nix: re-generate to fix ALUT 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 2ff8d1940f haskell-configuration-*: polish compiler-specific overrides 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
Peter Simons fa27f2af5b hackage-packages.nix: rebuild from Hackage 2015-01-10T13:56:15+0100 2015-01-10 15:55:47 +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 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
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 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 54baa53df1 Say hello to our brand-new Haskell infrastructure. 2015-01-07 23:45:21 +01:00