summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-20 23:23:59 +0100
committerPeter Simons <simons@cryp.to>2015-01-20 23:43:29 +0100
commitc64088f0ec112d60b4f5c1cef7bc55b154465583 (patch)
tree12c9812ed1993e3126f620bf8ddb8532bc3aef7c /pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
parent0eb306c5f7fe2de21fce6b7ab23fd65028ddff8b (diff)
downloadnixlib-c64088f0ec112d60b4f5c1cef7bc55b154465583.tar
nixlib-c64088f0ec112d60b4f5c1cef7bc55b154465583.tar.gz
nixlib-c64088f0ec112d60b4f5c1cef7bc55b154465583.tar.bz2
nixlib-c64088f0ec112d60b4f5c1cef7bc55b154465583.tar.lz
nixlib-c64088f0ec112d60b4f5c1cef7bc55b154465583.tar.xz
nixlib-c64088f0ec112d60b4f5c1cef7bc55b154465583.tar.zst
nixlib-c64088f0ec112d60b4f5c1cef7bc55b154465583.zip
haskell-streaming-commons: fix build on older GHC versions by way of bytestring-builder
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix6
1 files changed, 6 insertions, 0 deletions
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 46661b56d6b8..d928943fed3c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
@@ -57,4 +57,10 @@ self: super: {
   # The test suite depends on time >=1.4.0.2.
   cookie = dontCheck super.cookie ;
 
+  # bytestring >=0.10.2.0
+  streaming-commons = addBuildTool super.streaming-commons self.bytestring-builder;
+
+  # Choose appropriate flags for our version of 'bytestring'.
+  bytestring-builder = disableCabalFlag super.bytestring-builder "bytestring_has_builder";
+
 }