summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2021-01-08 20:58:50 +0100
committerPeter Simons <simons@cryp.to>2021-01-08 20:58:50 +0100
commit8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb (patch)
treeee84f126bfd1ade75693e5ee7140e6390a0d47c5
parentd2f8eca2e84cfbf48c8b94472ace73a28f05a2e7 (diff)
parentcfce2908bcf3a23dd13b3f71ce6b4e3aa29ea0bd (diff)
downloadnixpkgs-8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb.tar
nixpkgs-8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb.tar.gz
nixpkgs-8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb.tar.bz2
nixpkgs-8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb.tar.lz
nixpkgs-8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb.tar.xz
nixpkgs-8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb.tar.zst
nixpkgs-8e68a5e5c3dc7b8418df5fc1aabe16a7c91f5efb.zip
Merge branch '2020-12-31-upd-haskell-packages' of git://github.com/Anton-Latukha/nixpkgs into Anton-Latukha-2020-12-31-upd-haskell-packages.
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix38
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix.yaml2
2 files changed, 32 insertions, 8 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 7f8c18dae03..e4327e354b0 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -217,7 +217,24 @@ self: super: {
   # building of the executable has been disabled for ghc < 8.10 in hnix.
   # Generating the completions should be activated again, once we default to
   # ghc 8.10.
-  hnix = dontCheck super.hnix;
+  hnix = dontCheck (super.hnix.override {
+
+    #  2021-01-07: NOTE: hnix-store-core pinned at ==0.2 in Stackage Nightly.
+    # https://github.com/haskell-nix/hnix-store/issues/104
+    # Until unpin, which may hold off in time due to Stackage maintenence bottleneck
+    # the 0_4_0_0 is used
+    hnix-store-core = self.hnix-store-core_0_4_0_0; # at least 1.7
+
+  });
+
+  #  2021-01-07: NOTE: hnix-store-core pinned at ==0.2 in Stackage Nightly.
+  # https://github.com/haskell-nix/hnix-store/issues/104
+  # Until unpin, which may hold off in time due to Stackage maintenence bottleneck
+  # the 0_4_0_0 is used
+  hnix-store-remote = (super.hnix-store-remote.override {
+    hnix-store-core = self.hnix-store-core_0_4_0_0; # at least 1.7
+  });
+
 
   # Fails for non-obvious reasons while attempting to use doctest.
   search = dontCheck super.search;
@@ -805,11 +822,20 @@ 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;
+  # The project is stale
+  #
+  # Archiving request: https://github.com/haskell-hvr/cryptohash-sha512/issues/6
+  #
+  # doJailbreak since base <4.12 && bytestring <0.11
+  # Request to support:
+  # https://github.com/haskell-hvr/cryptohash-sha512/issues/4
+  # PRs to support base <4.12:
+  # https://github.com/haskell-hvr/cryptohash-sha512/pull/3
+  # https://github.com/haskell-hvr/cryptohash-sha512/pull/5
+  #
+  # dontCheck since test suite does not support new `base16-bytestring` >= 1 format
+  # 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;
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index 26db3c0fa2b..dd059b2c37c 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -6446,8 +6446,6 @@ broken-packages:
   - hmt-diagrams
   - hmumps
   - hnetcdf
-  - hnix
-  - hnix-store-remote
   - HNM
   - hnormalise
   - ho-rewriting