The 'random' library is no longer a core library in GHC 7.2.1. For older

versions of the compiler, haskell-packages.nix provides a null attribute.

svn path=/nixpkgs/trunk/; revision=28500
This commit is contained in:
Peter Simons
2011-08-12 00:18:56 +00:00
parent b5dcc70218
commit 468c5dbc5c
41 changed files with 107 additions and 91 deletions

View File

@@ -1,10 +1,10 @@
{ cabal, HUnit, QuickCheck, mtl }:
{ cabal, HUnit, QuickCheck, mtl, random }:
cabal.mkDerivation (self: {
pname = "testpack";
version = "2.1.0";
sha256 = "8128f3a409855fca1d431391b2cbf6a9f4dec32dd6f26825960b936fe578c476";
buildDepends = [ HUnit QuickCheck mtl ];
buildDepends = [ HUnit QuickCheck mtl random ];
meta = {
homepage = "http://hackage.haskell.org/cgi-bin/hackage-scripts/package/testpack";
description = "Test Utililty Pack for HUnit and QuickCheck";