From 14244d0f33fcbbb307bb08628a174e5269ee3222 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 1 May 2017 15:47:36 +0200 Subject: [PATCH] haskellPackages.tasty-discover: bootstrap itself using an untested build The tasty-discover test suite depends on tasty-discover in $PATH during test-suite compilation. Adding an untested build of itself to build tools fixes the problem, without putting the untested version in the package set. --- pkgs/development/haskell-modules/configuration-common.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 14619415348..73cd707397b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -494,6 +494,7 @@ self: super: { # Depends on itself for testing doctest-discover = addBuildTool super.doctest-discover (dontCheck super.doctest-discover); + tasty-discover = addBuildTool super.tasty-discover (dontCheck super.tasty-discover); # https://github.com/bos/aeson/issues/253 aeson = dontCheck super.aeson;