From 531aa6ec70acbfaba4e911a6e750b7c518ad6027 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Sat, 17 Jan 2026 21:11:20 +0000 Subject: [PATCH] haskellPackages.crypton-x509-system: fix case on library dependency --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ac1c26e53817..7ada9adae63d 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2367,6 +2367,13 @@ with haskellLib; pkgs.stdenv.hostPlatform.isPower64 && pkgs.stdenv.hostPlatform.isBigEndian ) super.crypton-x509-validation; + crypton-x509-system = overrideCabal (drv: { + # Case sensitive when doing cross-compilation to windows + postPatch = drv.postPatch or "" + '' + substituteInPlace crypton-x509-system.cabal --replace-fail "Crypt32" "crypt32" + ''; + }) super.crypton-x509-system; + # Likely fallout from the crypton issues # exception: HandshakeFailed (Error_Protocol "bad PubKeyALG_Ed448 signature for ecdhparams" DecryptError) tls = dontCheckIf (