summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-04-19 20:17:35 +0200
committerPeter Simons <simons@cryp.to>2015-04-20 00:06:52 +0200
commit921e73eb7e71ad6bddc4a3798c1d94439a45b547 (patch)
treefcd5c30fcfbf32ee1ebfd61a5b67fc0aedf6a165 /pkgs/development/haskell-modules
parenta9d7fff06c75c404f4de6053f38fa95e477591d6 (diff)
downloadnixpkgs-921e73eb7e71ad6bddc4a3798c1d94439a45b547.tar
nixpkgs-921e73eb7e71ad6bddc4a3798c1d94439a45b547.tar.gz
nixpkgs-921e73eb7e71ad6bddc4a3798c1d94439a45b547.tar.bz2
nixpkgs-921e73eb7e71ad6bddc4a3798c1d94439a45b547.tar.lz
nixpkgs-921e73eb7e71ad6bddc4a3798c1d94439a45b547.tar.xz
nixpkgs-921e73eb7e71ad6bddc4a3798c1d94439a45b547.tar.zst
nixpkgs-921e73eb7e71ad6bddc4a3798c1d94439a45b547.zip
haskell-nats: fix build with older compilers
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix3
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix3
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.2.x.nix3
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix3
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix3
5 files changed, 15 insertions, 0 deletions
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;
+
 }