summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-01-25 21:41:10 +0100
committerPeter Simons <simons@cryp.to>2018-01-26 13:01:10 +0100
commit291c3681f6df9b737db7002bf14002502b940966 (patch)
tree8cb468b0a8133ae7ff3b9afd1a14eacf7f4927e5
parentda7833e7e66495525a28060600255a7b3a73b7db (diff)
downloadnixpkgs-291c3681f6df9b737db7002bf14002502b940966.tar
nixpkgs-291c3681f6df9b737db7002bf14002502b940966.tar.gz
nixpkgs-291c3681f6df9b737db7002bf14002502b940966.tar.bz2
nixpkgs-291c3681f6df9b737db7002bf14002502b940966.tar.lz
nixpkgs-291c3681f6df9b737db7002bf14002502b940966.tar.xz
nixpkgs-291c3681f6df9b737db7002bf14002502b940966.tar.zst
nixpkgs-291c3681f6df9b737db7002bf14002502b940966.zip
cabal-plan: fix build by applying https://github.com/haskell-hvr/cabal-plan/pull/16
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 6dbbd77f95a..229cf6c38fb 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -959,4 +959,10 @@ self: super: {
   # https://github.com/yesodweb/Shelly.hs/issues/162
   shelly = dontCheck super.shelly;
 
+  # Support ansi-terminal 0.7.x.
+  cabal-plan = appendPatch super.cabal-plan (pkgs.fetchpatch {
+    url = "https://github.com/haskell-hvr/cabal-plan/pull/16.patch";
+    sha256 = "0i889zs46wn09d7iqdy99201zaqxb175cfs8jz2zi3mv4ywx3a0l";
+  });
+
 }