about summary refs log tree commit diff
path: root/pkgs/games
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/games
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/games')
-rw-r--r--pkgs/games/MazesOfMonad/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/MazesOfMonad/default.nix b/pkgs/games/MazesOfMonad/default.nix
index a61ab13ad834c..dbf7ecae425f7 100644
--- a/pkgs/games/MazesOfMonad/default.nix
+++ b/pkgs/games/MazesOfMonad/default.nix
@@ -1,4 +1,4 @@
-{ cabal, HUnit, mtl, regexPosix, time }:
+{ cabal, HUnit, mtl, random, regexPosix, time }:
 
 cabal.mkDerivation (self: {
   pname = "MazesOfMonad";
@@ -6,7 +6,7 @@ cabal.mkDerivation (self: {
   sha256 = "1zk6bckll03b40iq8z13753glkmcan6439w8cc6rn5h2fhp189v9";
   isLibrary = false;
   isExecutable = true;
-  buildDepends = [ HUnit mtl regexPosix time ];
+  buildDepends = [ HUnit mtl random regexPosix time ];
   meta = {
     description = "Console-based Role Playing Game";
     license = self.stdenv.lib.licenses.bsd3;