From 1e8e60da4142393bb0eda94a0d2eb7e474838a0d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 9 Feb 2012 14:38:03 +0000 Subject: [PATCH] haskell-json: fix build with GHC 7.4.x svn path=/nixpkgs/trunk/; revision=32162 --- pkgs/development/libraries/haskell/json/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/haskell/json/default.nix b/pkgs/development/libraries/haskell/json/default.nix index a748c2b4f58..5bfbb59d83f 100644 --- a/pkgs/development/libraries/haskell/json/default.nix +++ b/pkgs/development/libraries/haskell/json/default.nix @@ -5,6 +5,7 @@ cabal.mkDerivation (self: { version = "0.5"; sha256 = "12jbvq0lp7z5q6g94pv8s5455yydfyh9h2xlr76wqzfh3myvy6fl"; buildDepends = [ mtl parsec syb ]; + patchPhase = "sed -i json.cabal -e '1iExtensions: FlexibleInstances'"; meta = { description = "Support for serialising Haskell to and from JSON"; license = self.stdenv.lib.licenses.bsd3;