diff options
author | Naïm Favier <n@monade.li> | 2024-01-15 13:31:11 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2024-01-15 13:31:11 +0100 |
commit | 224a341c21bf3cbb628c9bc13e40f11523161851 (patch) | |
tree | a04d993dc7cae4b47bfaef6b443385a6db061d92 /pkgs/development/haskell-modules | |
parent | 4ddf5a650f6cc161be022cd395129a40f28e02b6 (diff) | |
download | nixlib-224a341c21bf3cbb628c9bc13e40f11523161851.tar nixlib-224a341c21bf3cbb628c9bc13e40f11523161851.tar.gz nixlib-224a341c21bf3cbb628c9bc13e40f11523161851.tar.bz2 nixlib-224a341c21bf3cbb628c9bc13e40f11523161851.tar.lz nixlib-224a341c21bf3cbb628c9bc13e40f11523161851.tar.xz nixlib-224a341c21bf3cbb628c9bc13e40f11523161851.tar.zst nixlib-224a341c21bf3cbb628c9bc13e40f11523161851.zip |
haskellPackages.irc-{conduit,client}: use crypton-connection
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 0f9aa9e929b8..1d5284e4ff31 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2495,8 +2495,24 @@ self: super: { # Too strict bounds on text and tls # https://github.com/barrucadu/irc-conduit/issues/54 - irc-conduit = doJailbreak super.irc-conduit; - irc-client = doJailbreak super.irc-client; + # Use crypton-connection instead of connection + # https://github.com/barrucadu/irc-conduit/pull/60 https://github.com/barrucadu/irc-client/pull/101 + irc-conduit = appendPatch (pkgs.fetchpatch { + url = "https://github.com/barrucadu/irc-conduit/pull/60/commits/58f6b5ee0c23a0615e43292dbbacf40636dcd7a6.patch"; + hash = "sha256-d08tb9iL07mBWdlZ7PCfTLVFJLgcxeGVPzJ+jOej8io="; + }) (doJailbreak (super.irc-conduit.override { + connection = self.crypton-connection; + x509-validation = self.crypton-x509-validation; + })); + irc-client = appendPatch (pkgs.fetchpatch { + url = "https://github.com/barrucadu/irc-client/pull/101/commits/0440b7e2ce943d960234c50957a55025771f567a.patch"; + hash = "sha256-iZyZMrodgViXFCMH9y2wIJZRnjd6WhkqInAdykqTdkY="; + }) (doJailbreak (super.irc-client.override { + connection = self.crypton-connection; + x509 = self.crypton-x509; + x509-store = self.crypton-x509-store; + x509-validation = self.crypton-x509-validation; + })); # 2022-02-25: Unmaintained and to strict upper bounds paths = doJailbreak super.paths; |