Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go and delve version mismatch #10

Open
tristanbeedell opened this issue Oct 22, 2024 · 2 comments
Open

go and delve version mismatch #10

tristanbeedell opened this issue Oct 22, 2024 · 2 comments

Comments

@tristanbeedell
Copy link

with

inputs:
  nixpkgs:
    url: github:cachix/devenv-nixpkgs/rolling

trying to use the go debugger in vscode:

image

swap nixpkgs out for github:nixos/nixpkgs/nixos-unstable and it works as expected.

@sandydoo
Copy link
Member

Do you have another version of go installed? I imagine you might have one version in GOROOT and another in the PATH.

If that's the underlying issue, then you'll eventually run into this again.

@tristanbeedell
Copy link
Author

Thanks for the rapid response!

I do not have go installed on the host system. If I unload the devenv then go is not on the PATH, and GOROOT is not set.

@tristanbeedell tristanbeedell changed the title gotools version mismatch go and delve version mismatch Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants