haskellPackages.crypton-x509-system: fix case on library dependency

This commit is contained in:
Alexandre Esteves
2026-02-14 21:22:37 +00:00
parent 35dd3a3a2a
commit 531aa6ec70
@@ -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 (