about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-01-12 09:14:35 -0500
committerShea Levy <shea@shealevy.com>2015-01-12 09:14:50 -0500
commitc972ea1e8ced18c2b7c939273f6b91484a442dbc (patch)
treec246b7d7af4a4d1ab55d60281c08ebecf904a78f /pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
parent872f8c0431ec60696976ac3cbaedb29cdfbed0c0 (diff)
downloadnixlib-c972ea1e8ced18c2b7c939273f6b91484a442dbc.tar
nixlib-c972ea1e8ced18c2b7c939273f6b91484a442dbc.tar.gz
nixlib-c972ea1e8ced18c2b7c939273f6b91484a442dbc.tar.bz2
nixlib-c972ea1e8ced18c2b7c939273f6b91484a442dbc.tar.lz
nixlib-c972ea1e8ced18c2b7c939273f6b91484a442dbc.tar.xz
nixlib-c972ea1e8ced18c2b7c939273f6b91484a442dbc.tar.zst
nixlib-c972ea1e8ced18c2b7c939273f6b91484a442dbc.zip
haskell-options: Fix for 7.10.1
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
index 8e9c23414aaf..c3f9dae52f39 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.9.x.nix
@@ -58,6 +58,14 @@ self: super: {
   utf8-string = overrideCabal super.utf8-string (drv: {
     patchPhase = "sed -i -e 's|base >= 3 && < 4.8|base|' utf8-string.cabal";
   });
+  options = overrideCabal super.options (drv: {
+    # edited cabal file simply makes a stricter base bound
+    editedCabalFile = null;
+
+    # See https://github.com/shlevy/haskell-options/tree/AMP. There is no
+    # official upstream bugtracker but I've emailed this patch to the maintainer
+    patches = [ ./patches/options-amp.patch ];
+  });
 
   # bos/attoparsec#92
   attoparsec = dontCheck super.attoparsec;