From da2d0519d7c59b57870cbdf5332d907ad79ae4c3 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sat, 11 Apr 2015 17:01:10 -0400 Subject: [PATCH] haskell-linear: Patch out Werror --- .../development/haskell-modules/configuration-ghc-7.10.x.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix index 9456e6f1c70..789c40d5ca8 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -145,6 +145,11 @@ self: super: { ]; }); + # ekmett/linear#74 + linear = overrideCabal super.linear (drv: { + prePatch = "sed -i 's/-Werror//g' linear.cabal"; + }); + # Cabal_1_22_1_1 requires filepath >=1 && <1.4 cabal-install = dontCheck (super.cabal-install.override { Cabal = null; });