sourcegraph/third_party/rules_go/package_main.patch
Noah S-C cb7034680d
bump to Go 1.22.1 (#60902)
🚀 💎 🙌 🚙 

## Test plan

CI
2024-03-06 17:38:43 -07:00

14 lines
600 B
Diff

diff --git a/go/tools/builders/compilepkg.go b/go/tools/builders/compilepkg.go
index b909fa86..4a1fc5ba 100644
--- a/go/tools/builders/compilepkg.go
+++ b/go/tools/builders/compilepkg.go
@@ -453,7 +453,7 @@ func compileArchive(
ctx, cancel := context.WithCancel(context.Background())
nogoChan = make(chan error)
go func() {
- nogoChan <- runNogo(ctx, workDir, nogoPath, goSrcsNogo, facts, packagePath, importcfgPath, outFactsPath)
+ nogoChan <- runNogo(ctx, workDir, nogoPath, goSrcsNogo, facts, importPath, importcfgPath, outFactsPath)
}()
defer func() {
if nogoChan != nil {