about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/buf/skip_test_requiring_network.patch
blob: 1b0cdfb12c03d508b93af873a4f6896e505f8e35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/private/bufpkg/buftesting/buftesting.go b/private/bufpkg/buftesting/buftesting.go
index 82b3ec4..ef8263a 100644
--- a/private/bufpkg/buftesting/buftesting.go
+++ b/private/bufpkg/buftesting/buftesting.go
@@ -99,6 +99,10 @@ func RunActualProtoc(
 
 // GetGoogleapisDirPath gets the path to a clone of googleapis.
 func GetGoogleapisDirPath(t *testing.T, buftestingDirPath string) string {
+	// Requires network access, which is not available during
+	// the nixpkgs sandboxed build
+	t.Skip()
+
 	googleapisDirPath := filepath.Join(buftestingDirPath, testGoogleapisDirPath)
 	require.NoError(
 		t,