Commit graph

939 commits

Author SHA1 Message Date
Peter Simons 6f1cec9acb haskell-packages.nix: fix the implementation of 'cabalNoTest'
The previous implementation used the following tying-the-knot trickery to
override 'doCheck' to false for the given build:

  cabalNoTest = {
    mkDerivation = x: rec {
      final = self.cabal.mkDerivation (self: (x final) // { doCheck = false; });
    }.final;
  };

That seemed to work, but for some reason it caused trouble with some builds --
not all -- that use jailbreakCabal. The problem was the 'stdenv' attribute
couldn't be evaluated properly anymore:

  $ nix-build ~/pkgs/top-level/release-haskell.nix -A optparseApplicative.ghc6104.x86_64-linux --show-trace
  error: while evaluating the attribute `drvPath' at `/nix/store/qkj5cxknwspz8ak0ganm97zfr2bhksgn-nix-1.5.2pre3082_2398417/share/nix/corepkgs/derivation.nix:19:9':
  while evaluating the builtin function `derivationStrict':
  while instantiating the derivation named `haskell-optparse-applicative-ghc6.10.4-0.5.2.1' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:40:13':
  while evaluating the derivation attribute `configurePhase' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:107:13':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/strings.nix:55:26':
  while evaluating the attribute `outPath' at `/nix/store/qkj5cxknwspz8ak0ganm97zfr2bhksgn-nix-1.5.2pre3082_2398417/share/nix/corepkgs/derivation.nix:18:9':
  while evaluating the builtin function `getAttr':
  while evaluating the builtin function `derivationStrict':
  while instantiating the derivation named `jailbreak-cabal-1.1' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:40:13':
  while evaluating the derivation attribute `nativeBuildInputs' at `/home/simons/.nix-defexpr/pkgs/stdenv/generic/default.nix:76:17':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/lists.nix:135:21':
  while evaluating the attribute `buildInputs' at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:22:17':
  while evaluating the builtin function `filter':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:22:60':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:119:17':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/customisation.nix:61:22':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/lib/customisation.nix:56:24':
  while evaluating the builtin function `isAttrs':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/development/libraries/haskell/Cabal/1.14.0.nix:1:1':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:113:20':
  while evaluating the attribute `final' at `/home/simons/.nix-defexpr/pkgs/top-level/haskell-packages.nix:114:7':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/build-support/cabal/default.nix:9:5':
  while evaluating the function at `/home/simons/.nix-defexpr/pkgs/stdenv/generic/default.nix:51:24':
  while evaluating the attribute `meta.license' at `/home/simons/.nix-defexpr/pkgs/development/libraries/haskell/Cabal/1.14.0.nix:17:5':
  infinite recursion encountered

I tried to figure out why this happens, but eventually gave up. The new
implementation passes an argument called 'enableCheckPhase' to the Cabal
builder, which determines whether the user-specified doCheck value has any
effect or not. Now, a normal override can be used to disable unit testing.
2013-04-19 10:46:18 +02:00
Rickard Nilsson 6e8404a7cb New Haskell library: haskell-acid-state 2013-04-19 07:09:12 +02:00
Rickard Nilsson 8a3f6e8e76 New Haskell library: haskell-safecopy 2013-04-19 07:07:44 +02:00
Peter Simons 64acc3a989 haskell-cuda: update to version 0.5.0.2 2013-04-14 23:06:17 +02:00
Peter Simons 684add983d haskell-split: update to version 0.2.2 2013-04-14 23:06:17 +02:00
Peter Simons a3c2a00abb haskell-testpack: drop obsolete and unmaintained library 2013-04-14 21:19:26 +02:00
Peter Simons e4526d1b7a haskell-asn1-types: add version 0.1.0 2013-04-10 14:57:15 +02:00
Peter Simons f88d383b31 haskell-cryptohash-cryptoapi: add version 0.1.0 2013-04-06 10:32:54 +02:00
Peter Simons 8f2719a1c3 haskell-polyparse: drop obsolete version 1.7 2013-04-06 10:32:54 +02:00
Peter Simons e99909002f xdot: link with latest version of polyparse 2013-04-06 10:32:54 +02:00
Peter Simons 50f65f62d8 haskell-graphviz: link with latest version of polyparse 2013-04-06 10:32:54 +02:00
Peter Simons 8792406e8f haskell-postgresql-libpq: link with client library from PostgreSQL 9.2 2013-04-06 10:32:54 +02:00
Peter Simons e2b6f3ebed haskell-primitive: drop obsolete versions 0.4.1 and 0.5 2013-04-06 10:32:54 +02:00
Peter Simons 9de2cbe77b Merge pull request #442 from pSub/keter
New: keter, Yesod deployment manager.
2013-04-04 06:44:59 -07:00
Rickard Nilsson c8d9a9f79b haskell-scotty 0.4.6: New package, a simple web framework 2013-04-04 09:22:43 +02:00
Pascal Wittmann 310b1221e1 New: keter, Yesod deployment manager.
Including the dependencies: unix-process-conduit and networkConduitTls.
2013-04-03 23:50:40 +02:00
Peter Simons 41281b762a Add various data-default instances. 2013-04-03 14:12:48 +02:00
Peter Simons 0baa128eba haskell-data-default-class: add version 0.0.1 2013-04-03 14:12:47 +02:00
Peter Simons 51fadefc47 haskell-HUnit: add version 1.2.5.2 2013-04-02 13:05:59 +02:00
Moritz Ulrich 72a724c0d2 New: yeganesh, a small wrapper around dmenu.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-04-01 12:13:01 +02:00
Peter Simons a83f32b335 haskell-hspec-expectations: drop obsolete version 0.3.0.3 2013-04-01 11:46:14 +02:00
Peter Simons 00346f1bbb haskell-hspec-expectations: switch default to version 0.3.2 2013-04-01 11:46:14 +02:00
Peter Simons 3c28408f84 haskell-quickcheck-io: add version 0.1.0 2013-04-01 11:46:14 +02:00
Peter Simons 905c058b6d haskell-accelerate-cuda needs old version of language-c-quote. 2013-03-29 17:51:29 +01:00
Peter Simons e83c6b2749 haskell-language-c-quote: add version 0.7.1 2013-03-29 17:51:29 +01:00
Peter Simons 82030c4ba2 haskell-split: add version 0.2.1.3 2013-03-29 17:51:29 +01:00
Peter Simons 8a134745de haskell-hspec-expectations: add version 0.3.2 2013-03-29 17:51:29 +01:00
Peter Simons b7a8b5fc11 haskell-HGL: drop obsolete library that doesn't compile anymore with recent GHCs 2013-03-25 14:25:52 +01:00
Peter Simons aff27c669e haskell-cuda: add version 0.5.0.1 2013-03-25 11:47:58 +01:00
Peter Simons 6f85323164 haskell-circle-packing: add version 0.1.0.2 2013-03-24 18:08:35 +01:00
Peter Simons 8de45f4da4 haskell-arithmoi: add version 0.4.0.3 2013-03-24 17:44:05 +01:00
Peter Simons 439809b6c6 Fix build of haskell-platform 2009.2.0.2. 2013-03-23 18:44:44 +01:00
Peter Simons f684ed19ba haskell-editline: add old version 0.2.1.0 2013-03-23 18:44:44 +01:00
Alexander Foremny 7c071ade78 Add haskell-authenticate-oauth 2013-03-18 13:29:00 +01:00
Peter Simons 3e4b863c62 Merge pull request #388 from aforemny/haskell-netwire
Add haskell-netwire
2013-03-18 04:20:23 -07:00
Peter Simons c78d28fb72 Merge pull request #389 from aforemny/haskell-cereal-conduit
Add haskell-cereal-conduit
2013-03-18 04:19:51 -07:00
Peter Simons dad328f766 Merge pull request #390 from aforemny/haskell-stm-conduit
Add haskell-stm-conduit
2013-03-18 04:19:29 -07:00
Peter Simons 07bbcaf29e haskell-GLUT: add version 2.4.0.0 2013-03-18 12:17:24 +01:00
Peter Simons f642dcd638 haskell-OpenGL: add version 2.8.0.0 2013-03-18 12:17:24 +01:00
Peter Simons 852350301f haskell-mmorph: add version 1.0.0 2013-03-18 12:17:24 +01:00
Peter Simons 26a39d2dbc haskell-monad-par: update to version 0.3.4.1 2013-03-18 12:17:24 +01:00
Alexander Foremny 8082dd3753 Add haskell-stm-conduit
This adds the dependency haskell-stm-chans as well.
2013-03-16 15:33:16 +01:00
Alexander Foremny 4873645bef Add haskell-cereal-conduit 2013-03-16 15:24:09 +01:00
Alexander Foremny 47ca534deb Add haskell-netwire 2013-03-16 15:14:29 +01:00
Andres Loeh db104a8c3f haskell-constraints: add package 2013-03-11 12:47:01 +01:00
Peter Simons e45d55964b alex: update to version 3.0.5 2013-03-11 11:26:14 +01:00
Peter Simons acd06b6ea0 haskell-shake: add version 0.9.1 2013-03-09 13:11:48 +01:00
Peter Simons 78140c3acd haskell-packages.nix: add 'disableTests' convenience function 2013-03-09 13:04:19 +01:00
Peter Simons cf53885d84 haskell-syb: update to version 0.4.0 2013-03-08 13:43:35 +01:00
Peter Simons d7bc87693f haskell-quickcheck: update to version 2.6 2013-03-08 13:43:21 +01:00