From 2c1f152c6053bcaed39d01f1d919c3e51b560dae Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 14 Apr 2016 11:40:19 +0200 Subject: [PATCH] haskell-reflection: fix build with ghc versions prior to 7.6.x --- pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix | 3 +++ 3 files changed, 9 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix index 77735182d0e7..2118b85cdc89 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix @@ -77,4 +77,7 @@ self: super: { # Needs void on pre 7.10.x compilers. conduit = addBuildDepend super.conduit self.void; + # Needs tagged on pre 7.6.x compilers. + reflection = addBuildDepend super.reflection self.tagged; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix index d354ea1305db..dd3f3892b31b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix @@ -78,4 +78,7 @@ self: super: { # Needs void on pre 7.10.x compilers. conduit = addBuildDepend super.conduit self.void; + # Needs tagged on pre 7.6.x compilers. + reflection = addBuildDepend super.reflection self.tagged; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix index 0103eb3c598c..d0daa40ea9aa 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix @@ -89,4 +89,7 @@ self: super: { # Needs void on pre 7.10.x compilers. conduit = addBuildDepend super.conduit self.void; + # Needs tagged on pre 7.6.x compilers. + reflection = addBuildDepend super.reflection self.tagged; + }