From 5705c90b8a4fe0cc53c4ad8a63e1bedc1c2a7210 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 21 Dec 2024 19:28:38 +0100 Subject: [PATCH] darcs: build with tls < 2.0 again Upstream tries to do something clever with restricting tls directly (even though it is an indirect dependency). We could easily provide crypton-connection >= 0.4 and tls >= 2.0.6, but it only wants that for GHC >= 9.8 claiming it is not possible for earlier versions. --- pkgs/development/haskell-modules/configuration-common.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b2f626a022fcd..3ff9502c6ec53 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2062,12 +2062,6 @@ self: super: { # https://github.com/faylang/fay/pull/474 fay = doJailbreak super.fay; - # Requests latest versions of crypton-connection and tls - darcs = super.darcs.overrideScope (self: super: { - crypton-connection = self.crypton-connection_0_4_2; - tls = self.tls_2_0_6; - }); - # Requests version 2 of tls, can be removed once it's the default diohsc = super.diohsc.overrideScope (self: super: { tls = self.tls_2_0_6;