about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2017-05-01 15:47:36 +0200
committerRobert Hensing <robert@roberthensing.nl>2017-05-01 17:28:45 +0200
commit14244d0f33fcbbb307bb08628a174e5269ee3222 (patch)
tree2966497a6df9ab17e448ccf2e5eef37cdc864269 /pkgs/development/haskell-modules/configuration-common.nix
parent92f53af64d0be1c9a61924b45910c41da7a6d03e (diff)
downloadnixlib-14244d0f33fcbbb307bb08628a174e5269ee3222.tar
nixlib-14244d0f33fcbbb307bb08628a174e5269ee3222.tar.gz
nixlib-14244d0f33fcbbb307bb08628a174e5269ee3222.tar.bz2
nixlib-14244d0f33fcbbb307bb08628a174e5269ee3222.tar.lz
nixlib-14244d0f33fcbbb307bb08628a174e5269ee3222.tar.xz
nixlib-14244d0f33fcbbb307bb08628a174e5269ee3222.tar.zst
nixlib-14244d0f33fcbbb307bb08628a174e5269ee3222.zip
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 14619415348a..73cd707397bb 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;