From 921e73eb7e71ad6bddc4a3798c1d94439a45b547 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 19 Apr 2015 20:17:35 +0200 Subject: [PATCH] haskell-nats: fix build with older compilers --- pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix | 3 +++ 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 +++ pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix | 3 +++ 5 files changed, 15 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix index a47789e3140..9329a2c2318 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix @@ -79,4 +79,7 @@ self: super: { stm = addBuildTool super.stm self.Cabal_1_18_1_6; split = super.split_0_1_4_3; + # Needs hashable on pre 7.10.x compilers. + nats = addBuildDepend super.nats self.hashable; + } 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 ae8ad42915f..caef6c4b754 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix @@ -61,4 +61,7 @@ self: super: { # Setup: Can't find transitive deps for haddock doctest = dontHaddock super.doctest; + # Needs hashable on pre 7.10.x compilers. + nats = addBuildDepend super.nats self.hashable; + } 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 622cea62abb..df9f96f73e7 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix @@ -61,4 +61,7 @@ self: super: { # Setup: Can't find transitive deps for haddock doctest = dontHaddock super.doctest; + # Needs hashable on pre 7.10.x compilers. + nats = addBuildDepend super.nats self.hashable; + } 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 a0eb2724074..53bcff9dc2f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix @@ -67,4 +67,7 @@ self: super: { # Newer versions require a more recent compiler. control-monad-free = super.control-monad-free_0_5_3; + # Needs hashable on pre 7.10.x compilers. + nats = addBuildDepend super.nats self.hashable; + } 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 d23bc99810a..235a165d2cd 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -74,4 +74,7 @@ self: super: { # Newer versions require a more recent compiler. control-monad-free = super.control-monad-free_0_5_3; + # Needs hashable on pre 7.10.x compilers. + nats = addBuildDepend super.nats self.hashable; + }