summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-10-05 20:58:14 +0200
committerPeter Simons <simons@cryp.to>2016-10-05 21:07:29 +0200
commite9d7f0d945cd3077e43860cf984798b9283cd581 (patch)
tree6159c52dcfb0d0371b9861d11703a06492829bcf /pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
parent75df6107da2cc042db0c847e68a591ccb5b869e8 (diff)
downloadnixpkgs-e9d7f0d945cd3077e43860cf984798b9283cd581.tar
nixpkgs-e9d7f0d945cd3077e43860cf984798b9283cd581.tar.gz
nixpkgs-e9d7f0d945cd3077e43860cf984798b9283cd581.tar.bz2
nixpkgs-e9d7f0d945cd3077e43860cf984798b9283cd581.tar.lz
nixpkgs-e9d7f0d945cd3077e43860cf984798b9283cd581.tar.xz
nixpkgs-e9d7f0d945cd3077e43860cf984798b9283cd581.tar.zst
nixpkgs-e9d7f0d945cd3077e43860cf984798b9283cd581.zip
haskell-attoparsec: fix build with GHC 7.10.x
Closes https://github.com/NixOS/nixpkgs/issues/19270.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
index 1d157f6c363..00f6f3770d5 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -187,6 +187,7 @@ self: super: {
   hackage-security = dontHaddock (dontCheck super.hackage-security);
 
   # GHC versions prior to 8.x require additional build inputs.
+  attoparsec = addBuildDepends super.attoparsec (with self; [semigroups fail]);
   Glob = addBuildDepends super.Glob (with self; [semigroups]);
   Glob_0_7_10 = addBuildDepends super.Glob_0_7_10 (with self; [semigroups]);
   aeson = disableCabalFlag (addBuildDepend super.aeson self.semigroups) "old-locale";