From c3399e5934b8a9b6dbee6fdef61897df8ab769f3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 16 Jun 2017 13:34:17 +0200 Subject: [PATCH] haskell-hastache: don't install the internal mkReadme tool --- pkgs/development/haskell-modules/configuration-common.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ec6e723db0d2..ed99118850fd 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -305,7 +305,6 @@ self: super: { haeredes = dontCheck super.haeredes; hashed-storage = dontCheck super.hashed-storage; hashring = dontCheck super.hashring; - hastache = dontCheck super.hastache; hath = dontCheck super.hath; haxl-facebook = dontCheck super.haxl-facebook; # needs facebook credentials for testing hdbi-postgresql = dontCheck super.hdbi-postgresql; @@ -861,4 +860,11 @@ self: super: { # build liquidhaskell with the proper (old) aeson version liquidhaskell = super.liquidhaskell.override { aeson = self.aeson_0_11_3_0; }; + # Test suite fails: https://github.com/lymar/hastache/issues/46. + # Don't install internal mkReadme tool. + hastache = overrideCabal super.hastache (drv: { + doCheck = false; + postInstall = "rm $out/bin/mkReadme && rmdir $out/bin"; + }); + }