about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2021-01-29 20:37:49 +0100
committerPeter Simons <simons@cryp.to>2021-01-29 21:02:35 +0100
commit02bf6b02306b740c5599465fd730cf50dc97ac5c (patch)
treed9cd6d23cdde1708fc0a5d7e5ddda96a488ad42e /pkgs/development/haskell-modules
parent1afc215a089164caed3ab970a98d9582c211b8a1 (diff)
downloadnixlib-02bf6b02306b740c5599465fd730cf50dc97ac5c.tar
nixlib-02bf6b02306b740c5599465fd730cf50dc97ac5c.tar.gz
nixlib-02bf6b02306b740c5599465fd730cf50dc97ac5c.tar.bz2
nixlib-02bf6b02306b740c5599465fd730cf50dc97ac5c.tar.lz
nixlib-02bf6b02306b740c5599465fd730cf50dc97ac5c.tar.xz
nixlib-02bf6b02306b740c5599465fd730cf50dc97ac5c.tar.zst
nixlib-02bf6b02306b740c5599465fd730cf50dc97ac5c.zip
cryptohash-sha256: the package is marked broken by hackage2nix, but it actually compiles fine
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 948a95e0831e..1144ee0f8234 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;