From ebb0a9b939409faf3b80c8c680812d69c2791271 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 1 Nov 2022 18:29:00 +0100 Subject: buf: remove reliance of tests on git file transport A recent git security update disabled the file transport by default, see https://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253 We can pick an upstream patch which needed to be rebased unfortunately, so we can't fetch it directly from GitHub. --- pkgs/development/tools/buf/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/tools/buf/default.nix') diff --git a/pkgs/development/tools/buf/default.nix b/pkgs/development/tools/buf/default.nix index 5d5e4084085..28e56833856 100644 --- a/pkgs/development/tools/buf/default.nix +++ b/pkgs/development/tools/buf/default.nix @@ -26,6 +26,9 @@ buildGoModule rec { ./skip_test_requiring_network.patch # Skip TestWorkspaceGit which requires .git and commits. ./skip_test_requiring_dotgit.patch + # Remove reliance of tests on file protocol which is disabled in git by default now + # Rebased upstream change https://github.com/bufbuild/buf/commit/bcaa77f8bbb8f6c198154c7c8d53596da4506dab + ./buf-tests-dont-use-file-transport.patch ]; nativeBuildInputs = [ installShellFiles ]; -- cgit 1.4.1