summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2020-12-08 09:44:08 +0100
committerPeter Simons <simons@cryp.to>2020-12-18 20:27:53 +0100
commit0d5600604089469b13f58139add16c58394e1bf8 (patch)
tree78abbe8a644412d4667c2d0b8bb8a0cd216378f0 /pkgs/development/haskell-modules/configuration-common.nix
parentafbbf8a438b46735f612c5f7703d92b2678f1205 (diff)
downloadnixpkgs-0d5600604089469b13f58139add16c58394e1bf8.tar
nixpkgs-0d5600604089469b13f58139add16c58394e1bf8.tar.gz
nixpkgs-0d5600604089469b13f58139add16c58394e1bf8.tar.bz2
nixpkgs-0d5600604089469b13f58139add16c58394e1bf8.tar.lz
nixpkgs-0d5600604089469b13f58139add16c58394e1bf8.tar.xz
nixpkgs-0d5600604089469b13f58139add16c58394e1bf8.tar.zst
nixpkgs-0d5600604089469b13f58139add16c58394e1bf8.zip
haskellPackages.cryptohash-sha512: fix by jailbreaking
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index e463146559e..121f2103733 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -176,9 +176,6 @@ self: super: {
   # https://github.com/jputcu/serialport/issues/25
   serialport = dontCheck super.serialport;
 
-  # Test suite build depends on ancient tasty 0.11.x.
-  cryptohash-sha512 = dontCheck super.cryptohash-sha512;
-
   # Test suite depends on source code being available
   simple-affine-space = dontCheck super.simple-affine-space;
 
@@ -815,6 +812,12 @@ self: super: {
   # Needs QuickCheck <2.10, HUnit <1.6 and base <4.10
   pointfree = doJailbreak super.pointfree;
 
+  # Depends on base <4.12
+  # See https://github.com/haskell-hvr/cryptohash-sha512/pull/3
+  # , https://github.com/haskell-hvr/cryptohash-sha512/issues/4
+  # and https://github.com/haskell-hvr/cryptohash-sha512/pull/5
+  cryptohash-sha512 = doJailbreak super.cryptohash-sha512;
+
   # Depends on tasty < 1.x, which we don't have.
   cryptohash-sha256 = doJailbreak super.cryptohash-sha256;