summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-05-09 20:01:49 +0200
committerPeter Simons <simons@cryp.to>2018-05-09 20:41:33 +0200
commit77fbd14d8552c311c6bd8e54c94fe41e5edd7c79 (patch)
tree6821871ae7a2799dc5ef7f770e8f3de0636c6a82 /pkgs/development/haskell-modules/configuration-common.nix
parent5c26dd319570ff94c73b4311007d921594675685 (diff)
downloadnixlib-77fbd14d8552c311c6bd8e54c94fe41e5edd7c79.tar
nixlib-77fbd14d8552c311c6bd8e54c94fe41e5edd7c79.tar.gz
nixlib-77fbd14d8552c311c6bd8e54c94fe41e5edd7c79.tar.bz2
nixlib-77fbd14d8552c311c6bd8e54c94fe41e5edd7c79.tar.lz
nixlib-77fbd14d8552c311c6bd8e54c94fe41e5edd7c79.tar.xz
nixlib-77fbd14d8552c311c6bd8e54c94fe41e5edd7c79.tar.zst
nixlib-77fbd14d8552c311c6bd8e54c94fe41e5edd7c79.zip
haskell-gi: apply upstream patch to fix the doctest suite
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 45560de984f3..c18c69f9a447 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;