Commit 15bd6528 authored by techknowlogick's avatar techknowlogick
Browse files
parent b8c13d36
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -13,16 +13,16 @@

buildGoModule rec {
  pname = "step-ca";
  version = "0.27.2";
  version = "0.27.5";

  src = fetchFromGitHub {
    owner = "smallstep";
    repo = "certificates";
    rev = "refs/tags/v${version}";
    hash = "sha256-byVWNab6Q3yryluhMomzLkRNfXQ/68pAq+YGFjbvX1o=";
    hash = "sha256-0KIAO9KPP9Lrrw9IIaRdlmmfJ0mwQK0ne//Zofu3TfE=";
  };

  vendorHash = "sha256-gQEGCbVgtKIaUgBkfpVwLXoUg1EUhaQFn9JZvV5Rjhc=";
  vendorHash = "sha256-yi4mbuCaT6ydnZwhqqhqMI7bF6IwHm0UqfR5JM81/Ik=";

  ldflags = [
    "-w"
@@ -36,6 +36,7 @@ buildGoModule rec {
    ++ lib.optionals (hsmSupport && stdenv.hostPlatform.isDarwin) [ PCSC ];

  postPatch = ''
    substituteInPlace authority/http_client_test.go --replace-fail 't.Run("SystemCertPool", func(t *testing.T) {' 't.Skip("SystemCertPool", func(t *testing.T) {'
    substituteInPlace systemd/step-ca.service --replace "/bin/kill" "${coreutils}/bin/kill"
  '';