about summary refs log tree commit diff
path: root/third_party/overlays/haskell
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/overlays/haskell')
-rw-r--r--third_party/overlays/haskell/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/third_party/overlays/haskell/default.nix b/third_party/overlays/haskell/default.nix
index 7b17e61e3e02..16c250f82004 100644
--- a/third_party/overlays/haskell/default.nix
+++ b/third_party/overlays/haskell/default.nix
@@ -11,16 +11,15 @@ let
     generic-arbitrary = appendPatch hsSuper.generic-arbitrary
       [ ./patches/generic-arbitrary-export-garbitrary.patch ];
 
-    # random = dontCheck (hsSuper.callHackageDirect {
-    #   pkg = "random";
-    #   ver = "1.2.0";
-    #   sha256 = "06s3mmqbsfwv09j2s45qnd66nrxfp9280gnl9ng8yh128pfr7bjh";
-    # } {});
+    # check dependencies cause circular dependency on itself
+    # and thus an infinite recursion
+    random = dontCheck hsSuper.random_1_2_0;
 
     # random <1.2
     test-framework = doJailbreak hsSuper.test-framework;
     hashable = doJailbreak hsSuper.hashable;
     test-framework-quickcheck2 = doJailbreak hsSuper.test-framework-quickcheck2;
+    pandoc = doJailbreak hsSuper.pandoc;
 
     # can be removed if we have the following PR or equivalent
     # https://github.com/NixOS/nixpkgs/pull/116931