haskell-hakyll: patch Cabal file from upstream

hakyll complains about our QuickCheck version being too high. Upstream
solved that problem already, so let's use that patch [0].

Closes https://github.com/NixOS/nixpkgs/pull/67065.

[0] https://github.com/jaspervdj/hakyll/pull/721
This commit is contained in:
Justin Humm 2019-08-18 16:54:43 +02:00 committed by Peter Simons
parent f6a654dad8
commit fe366d43e8
2 changed files with 7 additions and 3 deletions

View File

@ -149,11 +149,16 @@ self: super: {
else super.halive;
# Hakyll's tests are broken on Darwin (3 failures); and they require util-linux
hakyll = if pkgs.stdenv.isDarwin
hakyll = appendPatch
(if pkgs.stdenv.isDarwin
then dontCheck (overrideCabal super.hakyll (drv: {
testToolDepends = [];
}))
else super.hakyll;
else super.hakyll)
(pkgs.fetchpatch {
url = https://github.com/jaspervdj/hakyll/commit/25a4460b75b3c9f3ce339b3311b084d92994f5f1.patch;
sha256 = "sha256-F59WHt52LOKGsGoaD3LAIZFEMe9s9WHfGxQgSh9Q8uQ=";
});
double-conversion = if !pkgs.stdenv.isDarwin
then super.double-conversion

View File

@ -5360,7 +5360,6 @@ broken-packages:
- hakismet
- hakka
- hako
- hakyll
- hakyll-agda
- hakyll-blaze-templates
- hakyll-contrib