From c910bbb13412ca367a2de19c8d51eab052e0a114 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Sun, 10 Sep 2017 10:36:40 +0200 Subject: [PATCH] haskell: fix build of attoparsec-data Fixes: https://hydra.nixos.org/build/60421889 --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 48b3108d0ed0..df45ad815b93 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -15,6 +15,13 @@ with haskellLib; self: super: { + attoparsec-time_1 = super.attoparsec-time_1.override { + doctest = super.doctest_0_13_0; + }; + attoparsec-data = super.attoparsec-data.override { + attoparsec-time = self.attoparsec-time_1; + }; + # This used to be a core package provided by GHC, but then the compiler # dropped it. We define the name here to make sure that old packages which # depend on this library still evaluate (even though they won't compile