about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorFlorian Beeres <yuuki@protonmail.com>2021-01-08 12:14:33 +0100
committerFlorian Beeres <yuuki@protonmail.com>2021-01-08 16:08:17 +0100
commit5ab7854fbdfc04a04d084de6828559e019a73329 (patch)
tree104ca71bacc812df219b9194ec59a79fe846e105 /pkgs/development/haskell-modules
parent08fc5efd43d4283d43d1f287decf507d2eeda759 (diff)
downloadnixlib-5ab7854fbdfc04a04d084de6828559e019a73329.tar
nixlib-5ab7854fbdfc04a04d084de6828559e019a73329.tar.gz
nixlib-5ab7854fbdfc04a04d084de6828559e019a73329.tar.bz2
nixlib-5ab7854fbdfc04a04d084de6828559e019a73329.tar.lz
nixlib-5ab7854fbdfc04a04d084de6828559e019a73329.tar.xz
nixlib-5ab7854fbdfc04a04d084de6828559e019a73329.tar.zst
nixlib-5ab7854fbdfc04a04d084de6828559e019a73329.zip
dhall-json: skip tests to skip tasty 1.4 dependency
dhall-json has a dependency on tasty-silver and this in turn only
compiles if we supply a newer version of tasty. We can get around this
issue until stackage has caught up to tasty 1.4 by skipping tests
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index ce48c3578039..399b9cb6d512 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -937,7 +937,10 @@ self: super: {
 
   # Generate cli completions for dhall.
   dhall = generateOptparseApplicativeCompletion "dhall" super.dhall;
-  dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] super.dhall-json;
+  # For reasons that are not quire clear 'dhall-json' won't compile without 'tasty 1.4' due to its tests
+  # https://github.com/commercialhaskell/stackage/issues/5795
+  # This issue can be mitigated with 'dontCheck' which skips the tests and their compilation.
+  dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] (dontCheck super.dhall-json);
   dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" super.dhall-nix;
 
   # https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558