From 02bf6b02306b740c5599465fd730cf50dc97ac5c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 29 Jan 2021 20:37:49 +0100 Subject: [PATCH] cryptohash-sha256: the package is marked broken by hackage2nix, but it actually compiles fine --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 948a95e0831..1144ee0f823 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -815,8 +815,9 @@ self: super: { # https://github.com/haskell-hvr/cryptohash-sha512/pull/5#issuecomment-752796913 cryptohash-sha512 = dontCheck (doJailbreak super.cryptohash-sha512); - # Depends on tasty < 1.x, which we don't have. - cryptohash-sha256 = doJailbreak super.cryptohash-sha256; + # https://github.com/haskell-hvr/cryptohash-sha256/issues/11 + # Jailbreak is necessary to break out of tasty < 1.x dependency. + cryptohash-sha256 = markUnbroken (doJailbreak super.cryptohash-sha256); # Needs tasty-quickcheck ==0.8.*, which we don't have. cryptohash-sha1 = doJailbreak super.cryptohash-sha1;