step-ca: backport patch to fix broken test

This commit is contained in:
Moraxyc
2025-09-12 10:17:26 +08:00
parent 0a61d52b4a
commit a1b3d6679e
+11
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
buildGoModule,
coreutils,
pcsclite,
@@ -26,6 +27,16 @@ buildGoModule rec {
hash = "sha256-ZIpsSNdQVkelo5b3H03N8qToHU7z+lalAE7Ur6m2YwY=";
};
patches = [
# fix broken test TestHandler_RevokeCert
# https://github.com/smallstep/certificates/pull/2370
# TODO: remove at next release
(fetchpatch2 {
url = "https://github.com/smallstep/certificates/commit/b7e59c97f3b8a95a24153aeb85959118953f2bb4.patch?full_index=1";
hash = "sha256-GKGKUj4hpS4jo6sMvUhnD3BeE+f5vnxY5tK0a2pwpNM=";
})
];
vendorHash = "sha256-gGPrrl5J8UrjUpof2DaSs1fAQsMSsyAMlC67h5V75+k=";
ldflags = [