about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorDennis Gosnell <cdep.illabout@gmail.com>2023-10-08 09:55:13 +0900
committerDennis Gosnell <cdep.illabout@gmail.com>2023-10-08 10:01:03 +0900
commit345788180c8dee2bc90eb2157ed52247f3f77aa1 (patch)
tree93c945d388ce0e35bb3e63cd90a903399deb0214 /pkgs/development/haskell-modules/configuration-common.nix
parentd108dd86fe6b33c831dab0f419b5a6d400707346 (diff)
haskellPackages.crypton-connection: get building
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index b3d1c76014220..6336fbe299ea4 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1188,6 +1188,11 @@ self: super: {
       jailbreak = assert drv.version == "1.0.9" && drv.revision == "1"; true;
     }) super.dhall-nixpkgs);
 
+  crypton-connection = super.crypton-connection.override {
+    # requires tls >= 1.7
+    tls = self.tls_1_9_0;
+  };
+
   stack =
     lib.pipe
       super.stack
@@ -1873,10 +1878,6 @@ self: super: {
       # pandoc-cli requires pandoc >= 3.1
       pandoc = self.pandoc_3_1_8;
 
-      # pandoc depends on crypton-connection, which requires tls >= 1.7
-      tls = self.tls_1_9_0;
-      crypton-connection = unmarkBroken super.crypton-connection;
-
       # pandoc depends on http-client-tls, which only starts depending
       # on crypton-connection in http-client-tls-0.3.6.2.
       http-client-tls = self.http-client-tls_0_3_6_3;