From 468c5dbc5c7ff11c678c2d46d40846b2290724de Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 12 Aug 2011 00:18:56 +0000 Subject: 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 --- pkgs/games/MazesOfMonad/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/games') 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; -- cgit 1.4.1