From 77fbd14d8552c311c6bd8e54c94fe41e5edd7c79 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 9 May 2018 20:01:49 +0200 Subject: [PATCH] haskell-gi: apply upstream patch to fix the doctest suite --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 45560de984f..c18c69f9a44 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -422,8 +422,11 @@ self: super: { # https://github.com/evanrinehart/mikmod/issues/1 mikmod = addExtraLibrary super.mikmod pkgs.libmikmod; - # https://github.com/haskell-gi/haskell-gi/pull/163 - haskell-gi = dontCheck super.haskell-gi; + # Version 0.21.2 calls its doctest suite with incorrect paths. + haskell-gi = appendPatch super.haskell-gi (pkgs.fetchpatch { + url = https://github.com/haskell-gi/haskell-gi/pull/163/commits/b876c4f351893370d4ae597aab6ecc0422e7f665.patch; + sha256 = "03vzpvnr3vnz2zgsr504iyf0n9aw6mkz8rkj6zhazfixl3dzfkyd"; + }); # https://github.com/basvandijk/threads/issues/10 threads = dontCheck super.threads;