From 740eb969eb544a01625f46e7ed83e825f67bad95 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Sep 2016 13:53:23 +0200 Subject: [PATCH] haskell-lens: fix build on older compilers --- pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix | 1 + pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix index c83511dbc10..06836080bcf 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -98,6 +98,7 @@ self: super: { # Needs additional inputs on pre 7.10.x compilers. semigroups = addBuildDepends super.semigroups (with self; [bytestring-builder nats tagged unordered-containers transformers]); + lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]); # Haddock doesn't cope with the new markup. bifunctors = dontHaddock super.bifunctors; diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix index 67f69a063f1..1b5f01c8475 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -141,6 +141,7 @@ self: super: { # Needs additional inputs on pre 7.10.x compilers. semigroups = addBuildDepends super.semigroups (with self; [nats tagged unordered-containers]); + lens = addBuildDepends super.lens (with self; [doctest generic-deriving nats simple-reflect]); # Haddock doesn't cope with the new markup. bifunctors = dontHaddock super.bifunctors;