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
This commit is contained in:
Florian Beeres 2021-01-08 12:14:33 +01:00
parent 08fc5efd43
commit 5ab7854fbd

View File

@ -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