summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-12-30 19:16:19 +0100
committerPeter Simons <simons@cryp.to>2015-12-31 23:43:10 +0100
commit365ed9e37ff3e978ff872e781a5c8cda399bc361 (patch)
treeba7732c8abf492b296158883268278bef2cf2226 /pkgs/development/haskell-modules
parent09956eab482e57face13e357fc8760fc82013fc0 (diff)
downloadnixlib-365ed9e37ff3e978ff872e781a5c8cda399bc361.tar
nixlib-365ed9e37ff3e978ff872e781a5c8cda399bc361.tar.gz
nixlib-365ed9e37ff3e978ff872e781a5c8cda399bc361.tar.bz2
nixlib-365ed9e37ff3e978ff872e781a5c8cda399bc361.tar.lz
nixlib-365ed9e37ff3e978ff872e781a5c8cda399bc361.tar.xz
nixlib-365ed9e37ff3e978ff872e781a5c8cda399bc361.tar.zst
nixlib-365ed9e37ff3e978ff872e781a5c8cda399bc361.zip
haskell-binary: prefer version 0.7.x over 0.8.x for GHC 7.0.x
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix2
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix.yaml1
2 files changed, 2 insertions, 1 deletions
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 3173189c430a..cc5d03f05f5b 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.0.x.nix
@@ -35,7 +35,7 @@ self: super: {
   unix = null;
 
   # These packages are core libraries in GHC 7.10.x, but not here.
-  binary = self.binary_0_8_0_0;
+  binary = self.binary_0_7_6_1;
   deepseq = self.deepseq_1_3_0_1;
   haskeline = self.haskeline_0_7_2_1;
   hoopl = self.hoopl_3_10_2_0;
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index c75d0916b233..c024d705dff1 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -35,6 +35,7 @@ default-package-overrides:
 
 extra-packages:
   - aeson < 0.8                         # newer versions don't work with GHC 6.12.3
+  - binary > 0.7 && < 0.8               # binary 0.8.x is the latest, but it's largely unsupported so far
   - Cabal == 1.18.*                     # required for cabal-install et al on old GHC versions
   - Cabal == 1.20.*                     # required for cabal-install et al on old GHC versions
   - containers < 0.5                    # required to build alex with GHC 6.12.3