- your go.mod contains a replace directive for glfw to use your patched version, which fixes some build tag issues with x11 and wayland.
- Somehow just having your replace directive didn't work for cogentcore, where on CI it had an error in glfw, that was fixed by adding the replace directive to the cogentcore go.mod
- But now I get this error in a package that includes cogentcore, running on CI, trying to build the core executable:
go install cogentcore.org/core@main && core setup
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Here's the relevant discussion: golang/go#44840
Anyway, is there any way to fix this issue other than the replace directive? explicitly adding some build tags somewhere??
go install cogentcore.org/core@main && core setupHere's the relevant discussion: golang/go#44840
Anyway, is there any way to fix this issue other than the replace directive? explicitly adding some build tags somewhere??