about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorDennis Gosnell <cdep.illabout@gmail.com>2021-01-09 10:32:59 +0900
committerGitHub <noreply@github.com>2021-01-09 10:32:59 +0900
commitfcbb15272c97d0ea2ab2ead88e2cf32ab43494b5 (patch)
tree8f2792935d474081d8697d16376ac989d1596a26 /pkgs/development/haskell-modules
parent3cb97685577782c49f91d85f7312da80dcd4df18 (diff)
parent5ab7854fbdfc04a04d084de6828559e019a73329 (diff)
downloadnixlib-fcbb15272c97d0ea2ab2ead88e2cf32ab43494b5.tar
nixlib-fcbb15272c97d0ea2ab2ead88e2cf32ab43494b5.tar.gz
nixlib-fcbb15272c97d0ea2ab2ead88e2cf32ab43494b5.tar.bz2
nixlib-fcbb15272c97d0ea2ab2ead88e2cf32ab43494b5.tar.lz
nixlib-fcbb15272c97d0ea2ab2ead88e2cf32ab43494b5.tar.xz
nixlib-fcbb15272c97d0ea2ab2ead88e2cf32ab43494b5.tar.zst
nixlib-fcbb15272c97d0ea2ab2ead88e2cf32ab43494b5.zip
Merge pull request #108765 from cideM/haskell-updates
dhall-json: fix to work with newer tasty
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 e4327e354b05..24253c8bec8e 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -963,7 +963,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