Skip to content

any way to avoid the glfw replace directive? #2

@rcoreilly

Description

@rcoreilly
  1. your go.mod contains a replace directive for glfw to use your patched version, which fixes some build tag issues with x11 and wayland.
  2. 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
  3. 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??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions