aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2024-08-15 18:12:25 +0200
committerJ08nY2024-08-15 18:12:25 +0200
commit8d5c5fc65068d639b75db993ad23ca328146e6b6 (patch)
tree364a85c099b5531f3e90a17460e14e3a46e3f201
parent60f4b2e5c4e431ba3b902536d3de30c582b8b42b (diff)
downloadECTester-8d5c5fc65068d639b75db993ad23ca328146e6b6.tar.gz
ECTester-8d5c5fc65068d639b75db993ad23ca328146e6b6.tar.zst
ECTester-8d5c5fc65068d639b75db993ad23ca328146e6b6.zip
Fix mbedtls 3.2.0:
https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.2.1
-rw-r--r--flake.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index aa499b7..67d1331 100644
--- a/flake.nix
+++ b/flake.nix
@@ -173,7 +173,17 @@
# mbedtls >= 3.6.0 uses git submodules
fetchSubmodules = true;
};
- patches = { "v2.25.0" = ./nix/mbedtls-printf.patch; }."${version}" or (prev.patches or [ ]);
+ patches =
+ {
+ "v2.25.0" = ./nix/mbedtls-printf.patch;
+ "v3.2.0" = (
+ pkgs.fetchpatch {
+ url = "https://github.com/Mbed-TLS/mbedtls/commit/c2a938711085813eae11d99550b280c416a8242e.patch";
+ hash = "sha256-Rq4wEgJoEBzLpp2GdEMO2Ys2WNqN0LXzlKOVpcyVQ0M=";
+ }
+ );
+ }
+ ."${version}" or (prev.patches or [ ]);
# NOTE using previous cmakeFlags might not be desired..
cmakeFlags = (prev.cmakeFlags or [ ]) ++ [ "-DSKIP_TEST_SUITES=ssl,x509parse,pkcs7" ];
}