summary refs log tree commit diff
path: root/pkgs/applications/version-management/darcs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-08-12 00:18:56 +0000
committerPeter Simons <simons@cryp.to>2011-08-12 00:18:56 +0000
commit468c5dbc5c7ff11c678c2d46d40846b2290724de (patch)
tree187db210afe97a34baf42f34163e66c0f52acbff /pkgs/applications/version-management/darcs
parentb5dcc70218afd874e1daac65126f97923115978b (diff)
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
Diffstat (limited to 'pkgs/applications/version-management/darcs')
-rw-r--r--pkgs/applications/version-management/darcs/darcs-2.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/version-management/darcs/darcs-2.nix b/pkgs/applications/version-management/darcs/darcs-2.nix
index 6a0f41594d6f0..b21fefe18b093 100644
--- a/pkgs/applications/version-management/darcs/darcs-2.nix
+++ b/pkgs/applications/version-management/darcs/darcs-2.nix
@@ -1,6 +1,6 @@
 { cabal, curl, HTTP, extensibleExceptions, hashedStorage, haskeline
-, html, mmap, mtl, network, parsec, regexCompat, tar, terminfo
-, text, zlib
+, html, mmap, mtl, network, parsec, random, regexCompat, tar
+, terminfo, text, zlib
 }:
 
 cabal.mkDerivation (self: {
@@ -11,7 +11,7 @@ cabal.mkDerivation (self: {
   isExecutable = true;
   buildDepends = [
     HTTP extensibleExceptions hashedStorage haskeline html mmap mtl
-    network parsec regexCompat tar terminfo text zlib
+    network parsec random regexCompat tar terminfo text zlib
   ];
   extraLibraries = [ curl ];
   meta = {