From f8cd032621c770b22f0c1970d92909e81eab69ff Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Thu, 10 Nov 2022 13:39:27 +0100 Subject: [PATCH] buf: Add patch to make TestDuplicateSyntheticOneofs deterministic --- pkgs/development/tools/buf/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/tools/buf/default.nix b/pkgs/development/tools/buf/default.nix index 4254d0f1bd01..2250f4dfd2b9 100644 --- a/pkgs/development/tools/buf/default.nix +++ b/pkgs/development/tools/buf/default.nix @@ -35,6 +35,11 @@ buildGoModule rec { url = "https://github.com/bufbuild/buf/commit/75b5ef4c84f5953002dff95a1c66cb82b0e3b06f.patch"; sha256 = "sha256-pKF3VXkzttsTTT2r/Z37ug9nnu8gRdkfmv/aTOhAJpw="; }) + # Make TestDuplicateSyntheticOneofs check deterministic (see https://github.com/bufbuild/buf/pull/1579) + (fetchpatch { + url = "https://github.com/bufbuild/buf/commit/9e72aa314e6f02b36793caa5f6068394cbdcb98c.patch"; + sha256 = "sha256-6NEF3sP1EQ6cQxkH2xRyHxAD0OrXBlQQa05rLK998wo="; + }) ]; nativeBuildInputs = [ installShellFiles ];