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
@@ -1,4 +1,5 @@
{ cabal, X11, X11Xft, extensibleExceptions, mtl, utf8String, xmonad
{ cabal, X11, X11Xft, extensibleExceptions, mtl, random, utf8String
, xmonad
}:
cabal.mkDerivation (self: {
@@ -6,7 +7,7 @@ cabal.mkDerivation (self: {
version = "0.9.2";
sha256 = "06hg5j4w8iz62wmyygq4c7xcbi9dxlhhh3dbic438cjk7c0w1h5p";
buildDepends = [
X11 X11Xft extensibleExceptions mtl utf8String xmonad
X11 X11Xft extensibleExceptions mtl random utf8String xmonad
];
meta = {
homepage = "http://xmonad.org/";