1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

haskell-aeson-0.7.x: fix build with older versions of ByteString

Closes <https://github.com/bos/aeson/issues/185>.
Closes <https://github.com/ekmett/lens/issues/397>.
This commit is contained in:
Peter Simons 2014-02-19 16:29:01 +01:00
parent 40b8b3206e
commit 5306d974ce
2 changed files with 9 additions and 6 deletions

View file

@ -1,6 +1,7 @@
{ cabal, attoparsec, deepseq, dlist, hashable, HUnit, mtl
, QuickCheck, scientific, syb, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, text, time, unorderedContainers, vector
{ cabal, attoparsec, blazeBuilder, deepseq, dlist, hashable, HUnit
, mtl, QuickCheck, scientific, syb, testFramework
, testFrameworkHunit, testFrameworkQuickcheck2, text, time
, unorderedContainers, vector
}:
cabal.mkDerivation (self: {
@ -8,8 +9,8 @@ cabal.mkDerivation (self: {
version = "0.7.0.1";
sha256 = "17cwclxh2f2m0mvs867lfzrv14gd9grw8a9f8l95j3nd76y58kb3";
buildDepends = [
attoparsec deepseq dlist hashable mtl scientific syb text time
unorderedContainers vector
attoparsec blazeBuilder deepseq dlist hashable mtl scientific syb
text time unorderedContainers vector
];
testDepends = [
attoparsec HUnit QuickCheck testFramework testFrameworkHunit

View file

@ -527,7 +527,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
adjunctions = callPackage ../development/libraries/haskell/adjunctions {};
aeson_0_6_2_1 = callPackage ../development/libraries/haskell/aeson/0.6.2.1.nix {};
aeson_0_7_0_1 = callPackage ../development/libraries/haskell/aeson/0.7.0.1.nix {};
aeson_0_7_0_1 = callPackage ../development/libraries/haskell/aeson/0.7.0.1.nix {
blazeBuilder = if (pkgs.stdenv.lib.versionOlder ghc.version "7.6") then self.blazeBuilder else null;
};
aeson = self.aeson_0_6_2_1;
aesonLens = callPackage ../development/libraries/haskell/aeson-lens {};