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,5 +1,5 @@
{ cabal, ansiTerminal, ansiWlPprint, extensibleExceptions, hostname
, regexPosix, time, xml
, random, regexPosix, time, xml
}:
cabal.mkDerivation (self: {
@@ -9,8 +9,8 @@ cabal.mkDerivation (self: {
isLibrary = true;
isExecutable = true;
buildDepends = [
ansiTerminal ansiWlPprint extensibleExceptions hostname regexPosix
time xml
ansiTerminal ansiWlPprint extensibleExceptions hostname random
regexPosix time xml
];
meta = {
homepage = "http://batterseapower.github.com/test-framework/";