From cd134371207d086671382b17822fa88499b7c9f9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 15 May 2014 19:32:14 +0200 Subject: [PATCH] haskell-aeson: jailbreak to fix build with scientific 0.3.x --- pkgs/development/libraries/haskell/aeson/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/haskell/aeson/default.nix b/pkgs/development/libraries/haskell/aeson/default.nix index 9672111dc42..7c8dd42c005 100644 --- a/pkgs/development/libraries/haskell/aeson/default.nix +++ b/pkgs/development/libraries/haskell/aeson/default.nix @@ -16,6 +16,9 @@ cabal.mkDerivation (self: { attoparsec HUnit QuickCheck testFramework testFrameworkHunit testFrameworkQuickcheck2 text time unorderedContainers vector ]; + patchPhase = '' + sed -i -e 's|scientific >=.*,|scientific,|' aeson.cabal + ''; meta = { homepage = "https://github.com/bos/aeson"; description = "Fast JSON parsing and encoding";