Unverified Commit f88f6a50 authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

step-ca: backport patch to fix broken test (#442258)

parents b499a542 a1b3d667
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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 = [